简体   繁体   中英

Electron failed to install correctly, please delete node_modules/electron and try installing again

It seems strange to me one thing, during the installation of modules, apparently does not finish correctly, because it remains as follows:

npm install electron
electron@1.4.15 postinstall D:\Yididiya Master\Development\Electron\simple-samples-master\activity-monitor\node_modules\electron
node install.js

(It remains on hold)

See in the message that it is saying that there is a directory where the global npm package is installed. In your case it is inside: **D:\\Yididiya Master\\Development\\Electron\\simple-samples-master\\activity-monitor\\node_modules**

Now try to install that again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM