我想安裝量角器但接收到以下錯誤。 命令: npm install -g protractor
量角器錯誤 - @ types/jasmine'不在npm註冊表中
npm ERR! node v4.4.3
npm ERR! npm v2.15.1
npm ERR! code E404
npm ERR! 404 no such package available : @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! F:\temp\chrome downloads\npm-debug.log
您可能需要安裝最新版本的nodejs。你可以嘗試最新的一個 –
我安裝了最新版本7.0.0。但仍然看到相同的問題 – Ankit
你安裝nodejs後運行npm install嗎?如果不是,請做它 –