此错误之前已经发生,并且已经找到解决方案(https://github.com/facebook/create-react-app/issues/8465,Getting Error 404 while running npm install create-react-app)。他们似乎都不适合我。还有其他想法吗?
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
答案 0 :(得分:3)
您搜索的是 create -react-app,而不是 create -react-app。 (创建 e )