2017-09-26 97 views
-3

我想用恶梦js下载文件。模块不在npm注册表中

我试图用这样的: https://github.com/rosshinkley/nightmare-inline-download

我试图运行

npm install --save nightmare-inline-download 

但是这的git:

`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. 

`

我该怎么办?

回答

1

您在下载中心而不是下载类型的,它是一个错字。

+0

对不起我的坏!谢谢! – user2950593

1

试试这个命令来下载这个LIB

npm i nightmare-inline-download --save