美文网首页
windows grunt: command not found

windows grunt: command not found

作者: 知止至得 | 来源:发表于2018-12-10 14:39 被阅读16次

全局安装 grunt grunt-cli

npm install grunt -g
npm install grunt-cli -g

查看node全局安装目录

npm config ls

image.png

这里也可以尝试自己配置目录
npm config set prefix D://npm/

将prefix目录添加到Windows环境变量中即可。

image.png image.png

相关文章

网友评论

      本文标题:windows grunt: command not found

      本文链接:https://www.haomeiwen.com/subject/hmwrhqtx.html