量角器安装失败[关闭]

问题描述 投票:0回答:2

尝试安装最新版本的量程器(4.0.10)与节点v4.6.0安装失败。

我收到此错误:

[email protected] C:\Users\mallain\AppData\Roaming\npm\node_modules\bower
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.6.0
npm ERR! npm  v2.15.9
npm ERR! code E404

npm ERR! 404 Not Found: @types/jasmine
npm ERR! 404
npm ERR! 404 '@types/jasmine' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'protractor'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\mallain\workspace\angular-catalogue-module\npm-debug.log
node.js npm jasmine protractor
2个回答
1
投票

尝试将节点和npm更新到最新版本。 @types是一个相当近期的惯例。


-1
投票

这是我公司的注册问题。

将项目注册表更改为有效的注册表修复此问题! :)

© www.soinside.com 2019 - 2024. All rights reserved.