[英]Why is gulp: command not found after installing it globally - Windows
我在使用npm 5.3.0和节点v8.5.0全局安装gulp时遇到问题。
首先我确实安装了gulp
$ npm install gulp-cli --global
然后
$ gulp
结果到
bash: gulp: command not found
我已经尝试过以下问题的答案:
确保您的Git Bash在您的( ~/.bash_profile
,与C:\\Users\\Jash\\.bash_profile
相同)中列出了全局模块目录。 我认为,您将需要在该文件的开头添加一行:
export PATH="/c/Program Files/nodejs/":$PATH
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.