1.安装node.js成功后,npm -v一直报错:

npm错误 module.js:472

在网上找了很多方法参考实例:http://www.it165.net/os/html/201403/7618.html

我最后是这样解决的,用cmd管理员身份查看npm配置路径:

npm错误 module.js:472

在这个路径下找到npmrc文件如果没有就建一个npmrc文件设置几个参数:

npm错误 module.js:472

将文件放在userconfig配置的路径下,刷新再重新访问,成功的界面如下:

npm错误 module.js:472




相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-06
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-20
  • 2021-08-06
  • 2021-10-27
  • 2022-02-21
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案