npm install electron 失败

npm WARN @vue/cli-service@4.5.11 requires a peer of @vue/compiler-sfc@^3.0.0-beta.14 but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader@8.0.2 requires a peer of sass@^1.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN sass-loader@8.0.2 requires a peer of fibers@>= 3.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN v-calendar@2.3.2 requires a peer of @popperjs/core@^2.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN vue-filepond@7.0.0 requires a peer of vue@>=3 < 4 but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@12.0.4 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the electron@12.0.4 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 config set electron_mirror "https://npm.taobao.org/mirrors/electron/"

上一篇:深入理解javascript函数系列第三篇——属性和方法


下一篇:微信小程序错误日志思考