Windows 10专业版x64
我运行了以下命令
npm install --global gulp-cli
npm init
然后我切换到我的项目目录:
npm install --save-dev gulp
之后尝试运行gulp,结果出现以下错误:
-bash: gulp: command not found
我的package.json文件内容如下:
{
"name": "riad-kilani_v4-child",
"version": "1.0.0",
"description": "",
"main": "gulpfile.js",
"dependencies": {
"gulp-cli": "^1.2.2"
},
"devDependencies": {
"gulp": "^3.9.1",
"gulp-sass": "^2.3.2"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}
这里发生了什么事情有什么想法吗?