0
点赞
收藏
分享

微信扫一扫

npm安装依赖错误

往复随安_5bb5 2022-03-12 阅读 93
npm ERR! code 128
npm ERR! git dep preparation failed
npm ERR! command C:Program Files
odejs
ode.exe C:UsersAdministratorAppDataRoaming
pm
ode_modules
pmin
pm-cli.js install --force --cache=C:UsersAdministratorAppDataLocal

pm-cache --prefer-offline=false --prefer-online=false --offline=false --no-progress --no-save --no-audit --include=dev --include=peer --include=optional --no-package-lock-only --no-dry-ru
n
npm ERR! npm WARN using --force Recommended protections disabled.
npm ERR! npm ERR! code 128
npm ERR! npm ERR! An unknown git error occurred
npm ERR! npm ERR! command git --no-replace-objects ls-remote ssh://git@github.com/adobe-webplatform/eve.git
npm ERR! npm ERR! git@github.com: Permission denied (publickey).
npm ERR! npm ERR! fatal: Could not read from remote repository.
npm ERR! npm ERR!
npm ERR! npm ERR! Please make sure you have the correct access rights
npm ERR! npm ERR! and the repository exists.
npm ERR!
npm ERR! npm ERR! A complete log of this run can be found in:
npm ERR! npm ERR!     C:UsersAdministratorAppDataLocal
pm-cache_logs?1-09-02T01_57_04_188Z-debug.log

npm ERR! A complete log of this run can be found in:
npm ERR!     C:UsersAdministratorAppDataLocal
pm-cache_logs?1-09-02T01_59_44_422Z-debug.log

重新npm install

npm ERR! code 1
npm ERR! path E:NingXiaEducationPMSsrcclientepms-web
ode_modules
ode-sass
npm ERR! command failed

国内淘宝镜像
npm i -g cnpm --registry=https://registry.npm.taobao.org
cnpm install node-sass

npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersLenovoAppDataRoaming
pm-cache_logs?0-02-18T05_24_41_971Z-debug.log

运行cmd命令:
npm install npm -g
查看npm版本:
npm -v
项目内:npm install

举报

相关推荐

0 条评论