Node.js 找不到“;dt~摩卡“;(“npm”)在注册表中

Node.js 找不到“;dt~摩卡“;(“npm”)在注册表中,node.js,ubuntu,typescript,mocha.js,typescript-typings,Node.js,Ubuntu,Typescript,Mocha.js,Typescript Typings,我正在尝试在我当前的typescript项目中设置mocha和chai 我将浏览下页以实现相同的功能:- 在Ubuntu中运行上述命令时出错:- 打字错误!消息在注册表中找不到“dt~mocha”(“npm”)。是否要尝试搜索其他源?此外,如果您想提供这些打字,请帮助我们:https://github.com/typings/registry 打字错误!引起https://api.typings.org/entries/npm/dt~mocha/versions/latest回复404,预计

我正在尝试在我当前的typescript项目中设置mocha和chai

我将浏览下页以实现相同的功能:-

在Ubuntu中运行上述命令时出错:-


打字错误!消息在注册表中找不到“dt~mocha”(“npm”)。是否要尝试搜索其他源?此外,如果您想提供这些打字,请帮助我们:https://github.com/typings/registry
打字错误!引起https://api.typings.org/entries/npm/dt~mocha/versions/latest回复404,预计等于200
打字错误!cwd/home/abhishek/Desktop/TypeScript/automation/jasmine
打字错误!Linux系统3.19.0-47-generic
打字错误!命令“/usr/local/bin/node”“/usr/local/bin/typings”“安装”“dt~mocha”“--global”“--save”
打字错误!节点-v7.7.3
打字错误!打字-v 0.8.1
打字错误!如果需要帮助,您可以在以下位置报告此错误:
打字错误!

我试着在网上搜索。此外,我尝试了几件事,但都失败了


关于如何解决我的问题,有什么想法吗?

我浏览了页面,没有运行以下命令:-

$typings安装dt~mocha--global--save
$typings安装npm~chai--保存
$ typings install dt~mocha --global --save
typings ERR! message Unable to find "dt~mocha" ("npm") in the registry. Did you want to try searching another source? Also, if you want to contribute these typings, please help us: https://github.com/typings/registry
typings ERR! caused by https://api.typings.org/entries/npm/dt~mocha/versions/latest responded with 404, expected it to equal 200

typings ERR! cwd /home/abhishek/Desktop/TypeScript/automation/jasmine
typings ERR! system Linux 3.19.0-47-generic
typings ERR! command "/usr/local/bin/node" "/usr/local/bin/typings" "install" "dt~mocha" "--global" "--save"
typings ERR! node -v v7.7.3
typings ERR! typings -v 0.8.1

typings ERR! If you need help, you may report this error at:
typings ERR!   <https://github.com/typings/typings/issues>