如题:

在安装完grunt-cli和grunt之后,仍然不识别grunt。
反复确认是-g安装...

原因:

有可能是nodejs安装出现问题,到时npm的路径没有出现在环境变量里面。
C:\Users\xinghl\AppData\Roaming\npm添加到path中即可。

记得重启cmd命令行,再试试...

相关文章:

  • 2022-12-23
  • 2021-12-16
  • 2021-11-11
  • 2021-12-19
  • 2021-10-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-14
  • 2021-04-17
  • 2021-11-10
  • 2021-12-24
相关资源
相似解决方案