首页 > 解决方案 > npm 错误!404 未找到 - 获取 https://registry.npmjs.org/creat-react-app - 未找到

问题描述

之前发生过此错误并且已找到解决方案(https://github.com/facebook/create-react-app/issues/8465运行 npm install create-react-app 时出现错误 404)。它们似乎都不适合我。还有其他想法吗?

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/creat-react-app - Not found
npm ERR! 404 
npm ERR! 404  'creat-react-app@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!     /home/user/.npm/_logs/2020-09-05T12_21_39_255Z-debug.log
Install for creat-react-app@latest failed with code 1

标签: reactjsnpmcreate-react-app

解决方案


您搜索的是creat -react-app,而不是create -react-app。(创建e


推荐阅读