Class WebSwapCGLLayer is implemented in both Mac OS X /System and node_modules

Viewed 3224

I am completely new to using node and electron. I was running through the getting started docs and after running npm start as described when I encountered the following error:

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.

How can I specify that the class contained in node_modules should be used?

1 Answers
Related