繁体   English   中英

无法在节点8.12.0上安装Gulp

[英]Can't install Gulp on node 8.12.0

当我尝试sudo npm install --save-dev gulp命令时,它返回此错误:

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
npm WARN gus@1.0.0 No description
npm WARN gus@1.0.0 No repository field.

我已经重新安装了gulp(多次)和node(&npm),但仍然无法正常工作。 我该怎么办? (我使用的是macOS 10.13.6,并通过自制软件安装了节点)

为什么要尝试使用--save-dev进行安装? 全局安装Gulp应该使用--global

您是否查看了他们的安装指南? https://gulpjs.org/getting-started.html

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM