【发布时间】:2019-12-06 15:34:01
【问题描述】:
我有一个遗留项目(Angular v. 4.3.6)有一段时间(超过半年)没有更新。
现在,当我运行 npm install 时,它抱怨无法安装 NgRx 包。
"ngrx": "^2.0.0" 在package.json 文件中的条目。
npm ERR! code ETARGET
npm ERR! notarget No matching version found for ngrx@^2.0.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 ERR! notarget
npm ERR! notarget It was specified as a dependency of 'code'
npm ERR! notarget
应该用什么来代替这个依赖?
【问题讨论】:
-
@bryan60 我更新了问题
标签: angular npm-install ngrx