1 首先加入环境变量的path中   D:\IDE\nodejs;D:\IDE\nodejs\node_global

2设置npm的全局模块的存放路径以及cache的路径 NodeJS、NPM重装系统后的配置环境变量

npm config set prefix "D:\IDE\nodejs\node_global"

npm config set cache "D:\IDE\nodejs\node_cache"

3 结束

 

相关文章:

  • 2022-01-15
  • 2022-02-10
  • 2021-07-16
  • 2021-08-03
  • 2021-11-08
  • 2021-10-04
  • 2022-12-23
猜你喜欢
  • 2021-07-07
  • 2021-06-06
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2021-05-03
相关资源
相似解决方案