Tag: gulp 4

如何在NPM v5上安装Gulp v4?

我已经安装了新版本的npm,但现在当我尝试运行下一个命令时,依赖项不会被安装: npm i -S gulpjs/gulp#4.0 npm ERR! code ETARGET npm ERR! notarget No matching version found for undefined@4.0 npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesn't exist. NPM版本:v5.0.1 有没有从github分支安装npm包的新方法? 相关的问题(旧的NPM版本): 取决于在package.json中使用git URL的分支或标记? 有关安装依赖性的NPM文档: npm install docs