【发布时间】:2018-01-10 14:19:25
【问题描述】:
尝试通过 npm 安装@uirouter/angularjs,但出现以下错误:
npm ERR! code E404
npm ERR! 404 Not Found: @uirouter/angularjs@1.0.12
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/anatolyt/.npm/_logs/2018-01-10T14_14_22_375Z-debug.log
我正在使用 node v8.9.1 和 npm 5.6.0,我也在使用 nvm。使用 OSX High Sierra - 最新。
我的 package.json 文件如下:
{
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@uirouter/angularjs":"1.0.12"
},
"author": "",
"license": "ISC"
}
【问题讨论】:
-
你用了什么命令?
-
我正在使用
npm install
标签: angularjs npm angular-ui-router npm-install