找不到Create-Reaction-App Err!404对象

create-react-app ERR! 404 Object Not Found(找不到Create-Reaction-App Err!404对象)
本文介绍了找不到Create-Reaction-App Err!404对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行创建-反应-应用程序(npx create-react-app fetching-images),它加载了一段时间,但每次都收到以下错误:

Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

npm ERR! code E404
npm ERR! 404 Object Not Found - GET https://skimdb.npmjs.com/registry/cyclist/-/cyclist-1.0.1.tgz - not_found
npm ERR! 404 
npm ERR! 404  'cyclist@https://skimdb.npmjs.com/registry/cyclist/-/cyclist-1.0.1.tgz' 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!     /Users/Eric/.npm/_logs/2021-03-14T10_02_15_171Z-debug.log

Aborting installation.
  npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.
我完全卸载了node、npm和npx,然后从https://nodejs.org/en/重新安装了最新版本,但仍然收到此错误。我使用的是MacOS(11.2.2版)、NPM 7.6.0版、节点15.11.0版。

如何修复此错误?

推荐答案

请尝试设置:

npm config set registry http://registry.npmjs.org

这篇关于找不到Create-Reaction-App Err!404对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Update another component when Formik form changes(当Formik表单更改时更新另一个组件)
Formik validation isSubmitting / isValidating not getting set to true(Formik验证正在提交/isValiating未设置为True)
React Validation Max Range Using Formik(使用Formik的Reaction验证最大范围)
Validation using Yup to check string or number length(使用YUP检查字符串或数字长度的验证)
Updating initialValues prop on Formik Form does not update input value(更新Formik表单上的初始值属性不会更新输入值)
password validation with yup and formik(使用YUP和Formick进行密码验证)