第一步:npm config get prefix ,获取输出path“C:\Users\jaxGu\AppData\Roaming\npm”加上"\node_modules"用于第二步值

 

第二步:添加系统环境变量:NODE_PATH:C:\Users\jaxGu\AppData\Roaming\npm\node_modules

 

第三步:关掉命令行,重新打开。

相关文章:

  • 2021-09-05
  • 2022-12-23
  • 2021-07-25
  • 2021-11-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-07
  • 2022-01-30
  • 2021-07-12
  • 2021-06-09
  • 2022-12-23
相关资源
相似解决方案