为什么bash: gulp: command not found
来源:9-2 如何打包发布-1
威威斯便利店
2016-10-13
hewei@DESKTOP-E9LAGL5 MINGW64 ~ $ cd 'D:\慕课前端代码\响应式布局\理财宝响应式布局' hewei@DESKTOP-E9LAGL5 MINGW64 /d/慕课前端代码/响应式布局/理财宝响应式布局 $ npm -v 2.15.9 hewei@DESKTOP-E9LAGL5 MINGW64 /d/慕课前端代码/响应式布局/理财宝响应式布局 $ node -v v4.6.0 hewei@DESKTOP-E9LAGL5 MINGW64 /d/慕课前端代码/响应式布局/理财宝响应式布局 $ npm install gulp --save-dev npm WARN package.json responsiveweb@1.0.0 No description npm WARN package.json responsiveweb@1.0.0 No repository field. npm WARN package.json responsiveweb@1.0.0 No README data npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. gulp@3.9.1 node_modules\gulp ├── interpret@1.0.1 ├── pretty-hrtime@1.0.2 ├── deprecated@0.0.1 ├── archy@1.0.0 ├── minimist@1.2.0 ├── semver@4.3.6 ├── tildify@1.2.0 (os-homedir@1.0.2) ├── v8flags@2.0.11 (user-home@1.1.1) ├── chalk@1.1.3 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2.2.1, strip-ansi@3.0.1, has-ansi@2.0.0) ├── orchestrator@0.3.7 (stream-consume@0.1.0, sequencify@0.0.7, end-of-stream@0.1.5) ├── vinyl-fs@0.3.14 (strip-bom@1.0.0, defaults@1.0.3, vinyl@0.4.6, graceful-fs@3.0.11, mkdirp@0.5.1, through2@0.6.5, glob-stream@3.1.18, glob-watcher@0.0.6) ├── liftoff@2.3.0 (lodash.isplainobject@4.0.6, lodash.isstring@4.0.1, lodash.mapvalues@4.6.0, rechoir@0.6.2, extend@3.0.0, flagged-respawn@0.3.2, resolve@1.1.7, fined@1.0.2, findup-sync@0.4.3) └── gulp-util@3.0.7 (array-differ@1.0.0, lodash._reinterpolate@3.0.0, object-assign@3.0.0, lodash._reevaluate@3.0.0, beeper@1.1.0, lodash._reescape@3.0.0, array-uniq@1.0.3, replace-ext@0.0.1, has-gulplog@0.1.0, fancy-log@1.2.0, vinyl@0.5.3, gulplog@1.0.0, lodash.template@3.6.2, through2@2.0.1, multipipe@0.1.2, dateformat@1.0.12) hewei@DESKTOP-E9LAGL5 MINGW64 /d/慕课前端代码/响应式布局/理财宝响应式布局 $ gulp -v bash: gulp: command not found
写回答
2回答
-
潜行_My
2017-06-15
对啊, 我也是遇到这问题, 全局安装就ok了
00 -
威威斯便利店
提问者
2016-10-13
全局安装下gulp就好了。。好奇怪
00
相似问题