我已经在全球和本地安装了gulp
npm install gulp
npm install gulp -g
npm install gulp-util
npm install gulp-util -g
Run Code Online (Sandbox Code Playgroud)
当我尝试运行gulp我得到
'gulp' is not recognized as an internal or external command, operable program or batch file.
运行npm list gulp(或-g),我gulp@3.7.0有全局或本地gulp安装的位置.
我试过运行node gulpfile.js指向我的gulpfile,它运行没有错误,当然,它开始require('gulp').
关于让gulp在Windows上运行的任何建议(8.1)?
我在Windows 8计算机上从命令行运行Grunt时遇到问题.
我的研究表明,最常见的解决方案是安装grunt-cli,因为Grunt不再是全球性的.我还需要确保我实际安装了Grunt任务运行器,因为它没有安装grunt-cli.
其他解决方案指向PATH系统环境变量,但这看起来像我期望的那样:
C:\用户[用户名] \应用程序数据\漫游\ NPM
完成所有这些后,我仍然在CLI中将"'grunt'识别为内部或外部命令,可操作程序或批处理文件"错误消息.我尝试过以下方法,每次尝试后卸载所有内容:
我错过了一些明显的东西吗