【问题标题】:How to install Gulp v4 with NPM v5?如何使用 NPM v5 安装 Gulp v4?
【发布时间】:2017-11-02 10:06:24
【问题描述】:

我已经安装了新版本的 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 版本):Depend on a branch or tag using a git URL in a package.json?

关于安装依赖的 NPM 文档:npm install docs

【问题讨论】:

    标签: node.js github npm gulp gulp-4


    【解决方案1】:

    这是 v5.0.2 中修复的错误

    Related github issue

    【讨论】:

      猜你喜欢
      • 2017-10-10
      • 1970-01-01
      • 1970-01-01
      • 2020-06-07
      • 2019-03-03
      • 1970-01-01
      • 2019-05-31
      • 1970-01-01
      • 2016-10-11
      相关资源
      最近更新 更多