尝试安装 nodemon 包时出现 404 错误

Get 404 error when trying to install the nodemon package

我在尝试安装 nodemon 软件包时遇到 404 错误。

PS C:\Users\Fo0ola\Desktop\SERVER-SIDE> npm install -g nomdemon
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/nomdemon -
Not found
npm ERR! 404
npm ERR! 404  'nomdemon@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\Fo0ola\AppData\Roaming\npm-cache\_logs20-05-05T19_11_02_879Z-debug.log

你打错了,你写的是 nomdemon 而不是 nodemon

尝试运行

npm install -g nodemon