2017-09-26 181 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