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

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/ (0x7ffa5dba6318) and myProjectDir/node_modules/electron/dist/ (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 Answer

This is just a warning and Electron.js should start fine, see and upstream Chromium issue

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like