Fer*_*qui 21 install node.js angular-cli angular
如何解决此错误,因为我无法安装Angular.
请参阅以下例外:
C:\Users\absin\node>npm install -g @angular/cli
npm ERR! code ETARGET
npm ERR! notarget No matching version found for require-from-string@^1.1.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 'cosmiconfig'
npm ERR! notarget
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\absin\AppData\Roaming\npm-cache\_logs\2018-01-06T19_07_00_000Z-debug.log
Run Code Online (Sandbox Code Playgroud)
即使在时间解决之后:
npm install https://github.com/floatdrop/require-from-string/tarball/v1.1.0 --save
npm install
Run Code Online (Sandbox Code Playgroud)
如问题链接中所述:
时间解:
npm install https://github.com/floatdrop/require-from-string/tarball/v1.1.0 --save
npm install
更新:
看来他们正在研究它.用于返回404的require-from-string页面,但至少现在它在NPM的网站上加载了正确的页面:https://www.npmjs.com/package/require-from-string
似乎npm install还没有完成.
更新2:
NPM的官方回应:https://status.npmjs.org/incidents/41zfb8qpvrdj
更新3:问题似乎得到解决.
| 归档时间: |
|
| 查看次数: |
3470 次 |
| 最近记录: |