ElectronJs Quick Start not starting?

2020-02-06 16:32发布

问题:

I am new begin electronjs on windows, before I am used on linux not lived any problem like this.

My problem is when I am give CMD npm start then no any errors but don't opening any windows only terminal looking like this:

C:\Users\Ramazan\Desktop\electron-quick-start-master>npm start

electron-quick-start@1.0.0 start C:\Users\Ramazan\Desktop\electron-quick-start-master

electron .

And nothing, I find this subject but Why doesn't npm start run electron app? and this ElectronJs: HellowWorld application is not starting But not working vc++ 2015 already installed on my pc and I tried reinstall 5 times node_modules folder.

How can I do for this problem?

回答1:

Electron doesn't support the current release of nodejs yet (v11), so people trying to use this unfortunately need to downgrade to the LTS version and it should work. I also spent almost a whole day wondering what's wrong, but this is the only thing that worked for me.



标签: electron