npm установить discord.io winston –save 404 - PullRequest
0 голосов
/ 11 марта 2020

Я следовал этому уроку о создании бот-диска и я без проблем добрался до шага 9, но когда я набираю npm install discord.io winston – save в терминале, это то, что я получаю:

    npm ERR! code E404
npm ERR! 404 Not Found - GET http://registry.npmjs.org/- - Not found
npm ERR! 404
npm ERR! 404  '-@latest' 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.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Utente\AppData\Roaming\npm-cache\_logs\2020-03-11T14_03_20_199Z-debug.log

1 Ответ

0 голосов
/ 11 марта 2020

Это ужасно написано на этом сайте. Команда должна быть:

npm install discord.io winston --save.

И помните 2 знака минус, а не один

...