Joh*_*ton 10 node.js node-modules electron
我对使用节点和电子完全陌生。我正在运行入门文档,并按照描述运行后npm start遇到以下错误:
Class WebSwapCGLLayer is implemented in both /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/Frameworks/libANGLE-shared.dylib (0x7ffa5dba6318) and myProjectDir/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libGLESv2.dylib (0x10d69b9c8). One of the two will be used. Which one is undefined.
node_modules我如何指定应使用中包含的类?
这只是一个警告,Electron.js 应该可以正常启动,请参阅https://github.com/electron/electron/issues/33685和上游 Chromium 问题https://bugs.chromium.org/p/angleproject/issues/detail ?id=7123