【发布时间】: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