npm开始不工作,gulp是否弃用?

时间:2018-06-06 18:56:56

标签: node.js npm gulp

首先发布在这里。对不起,这么久了。

我正在努力为Github上的一个开源项目做出贡献。我成功下载并克隆了该项目。我使用的是Windows 10和Node.js版本v8.11.2

当我在命令提示符下运行npm start时出现以下错误:



npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Ashley Clarke\AppData\Roaming\npm-cache\_logs\2018-06-06T18_34_45_556Z-debug.log




所以我试着确保在我的Node.js命令提示符下连接到gulp服务器。

得到了这个错误:



C:\Users\Ashley Clarke>gulp server
[10:59:43] Local gulp not found in ~
[10:59:43] Try running: npm install gulp




然后当我运行npm install gulp时弹出。



C:\Users\Ashley Clarke>npm install gulp -g
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
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: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
C:\Users\Ashley Clarke\AppData\Roaming\npm\gulp -> C:\Users\Ashley Clarke\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js
+ gulp@3.9.1
added 255 packages in 45.834s




我试图转到https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5,但它谈到了插件。我想我正在努力理解我需要做什么来连接到gulp服务器,所以我可以为这个开源项目做出贡献。谢谢!! P.S试图添加图片。提前致谢。

0 个答案:

没有答案