reactjs - 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
解决方案
您搜索的是creat -react-app,而不是create -react-app。(创建e)
推荐阅读
- python - 如何匹配ip地址
- javascript - 从 url 中删除 # 字符
- javascript - daterangepicker isInvalidDate() 无法正常工作
- excel - 根据拆分单元格文本将工作表行复制到新工作表
- javascript - javascript delete object 属性正在删除整个对象
- c# - 为什么 Resharper / Jetbrains [NotNull] 带注释的接口会警告我 nullreferenceexceptions?
- python - 绝对导入导致 ModuleNotFoundError
- python - Pandas - 在子字符串/交集上连接两个数据框
- php - 如何将 3rd 方库正确导入 Laravel 项目?
- c++ - std::tuple-like 的命名要求?