npm ERR A complete log of this run can be found in npm ERR CUsersAppDataRoamingnpm-ca

npm ERR! A complete log of this run can be found in: npm ERR! C:Users**AppDataRoaming pm-cache_logs?1-04-16T10_06_44_239Z-debug.log

报错信息

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 

npm ERR! A complete log of this run can be found in:
npm ERR!     C:Users**AppDataRoaming
pm-cache_logs?1-04-16T10_06_44_239Z-debug.log  

解决办法

npm config set electron_mirror "https://npm.taobao.org/mirrors/electron/"npm install

欢迎大家交流学习,任何问题都可以留言

你可能感兴趣的:(前端,html,npm,node.js,前端)