当前位置:   article > 正文

npm安装报错_npm warn deprecated webpack-chain@6.5.1: package n

npm warn deprecated webpack-chain@6.5.1: package no longer supported. contac

ls-remote -h -t git://github.com/adobe-webplatform/eve.git

  1. npm WARN deprecated bfj-node4@5.3.1: Switch to the bfj package for fixes and new features!
  2. npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
  3. npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
  4. npm ERR! Error while executing:
  5. npm ERR! D:\Software\git\cmd\git.EXE ls-remote -h -t git://github.com/adobe-webplatform/eve.git
  6. npm ERR! fatal: unable to connect to github.com:
  7. npm ERR! github.com[0: 13.229.188.59]: errno=No such file or directory
  8. npm ERR! github.com[1: 52.74.223.119]: errno=No such file or directory npm ERR! github.com[2: 13.250.177.223]: errno=No such file or directory
  9. npm ERR! npm ERR! npm ERR! exited with error code: 128
  10. npm ERR! A complete log of this run can be found in: npm ERR!

解决方法

  1. // 进入根目录
  2. cd 项目根目录
  3. git config --global url."https://".insteadOf git://

fatal: unable to access https://github.com/nhn/raphael.git/

  1. npm ERR! E:\tools\Gitt\Git\cmd\git.EXE ls-remote -h -t https://github.com/nhn/raphael.git
  2. npm ERR!
  3. npm ERR! fatal: unable to access 'https://github.com/nhn/raphael.git/': OpenSSL SSL_read: Connection was reset, errno 10054
  4. npm ERR!
  5. npm ERR! exited with error code: 128

解决方法

1、git config --global url."https://" .insteadOf git://

2、可能是下载内容太大导致问题处理
git config --global https.postBuffer 524288000

3、更改数据源 (已测有效)
npm config set registry https://registry.npm.taobao.org

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/453395
推荐阅读
  

闽ICP备14008679号