其他分享
首页 > 其他分享> > npm install electron 失败

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/"

标签:npm,ERR,but,yourself,electron,install,peer
来源: https://blog.csdn.net/qq_36720719/article/details/123072081