模块不在npm注册表中

时间:2017-09-26 20:58:42

标签: node.js npm nightmare

我想使用nightmare js下载文件。

我试过用这个: https://github.com/rosshinkley/nightmare-inline-download

我试图运行

npm install --save nightmare-inline-download

但是git this:

`npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
npm ERR! node v6.9.5
npm ERR! npm  v3.10.10
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/nightma
npm ERR! 404
npm ERR! 404  'nightmare-inline-dowload' 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
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

`

我该怎么办?

2 个答案:

答案 0 :(得分:2)

您输入 dowload 而不是下载,这是一个错字。

答案 1 :(得分:2)

尝试此命令下载此lib

npm i nightmare-inline-download --save