npm install

输出一下错误

npm ERR! code E404
npm ERR! 404 Not Found - GET https://xx.xx/xx/xx/xx- Not Found
npm ERR! 404
npm ERR! 404 'moment@2.29.1' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'hr_front_end'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 It was specified as a dependency of 'hr_front_end'

 

 解决方案:

1、更换淘宝镜像:npm config set registry http://registry.npm.taobao.org

npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 It was specified as a dependency of 'hr_front_end'

2、 执行安装:npm install

npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 It was specified as a dependency of 'hr_front_end'

 

相关文章:

  • 2021-08-01
  • 2021-05-17
  • 2022-12-23
  • 2021-07-08
  • 2022-12-23
  • 2021-07-24
  • 2021-12-22
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-26
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案