简体   繁体   English

每次我想创建一个反应应用程序时都会收到这个错误:

[英]Im getting this error everytime time I want to create a react app:

The error on the command line:命令行上的错误:

npm ERR! cb() never called!

I ran the command:我运行了命令:

npx create-react-app test

I also tried running the clean cache command but I still keep getting the same error.我也尝试运行 clean cache 命令,但我仍然收到同样的错误。

Did you tried with --force option?您是否尝试过使用 --force 选项?

sudo npm cache clean --force

More info refer: https://reactgo.com/npm-err-cb-never-called/更多信息请参阅: https://reactgo.com/npm-err-cb-never-call/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 每当我尝试创建新的反应应用程序或尝试启动现有的反应应用程序时出现错误 - Getting error whenever I try to create new react app or try to start existing react app 更新 storaged 信息,但每次尝试更新时都会出错 - Updating storaged info but Im getting error every time I try to update it 我一直在尝试创建一个 React 应用程序,但我一直收到此错误:“npm ERR!cb() 从未调用过!” - I've been trying to create a react app but I keep getting this error: "npm ERR! cb() never called!" 我在我的REACT Web应用程序中集成了Greenshock的GSAP。 我收到一个错误:未定义Quint吗? - Im integrating GSAP from Greenshock, in my REACT Web App. I get an error: Quint is not defined? 为什么我在安装 create-react-app 时收到错误“没有可用于未定义的有效版本” - Why am I getting error "No valid versions available for undefined" while installing create-react-app 我无法使用 create-react-app 创建模板。 收到错误消息:未提供模板。 或错误 404 - I can't create a template using create-react-app. getting the error message: a template was not provided. or ERROR 404 为什么我在安装 react 应用程序时,它给了我这个错误? - Why when im installing react app, it gives me this error? npx create-react-app 不工作。 出现“create-react-app 的过时版本”错误 - npx create-react-app NOT working. Getting "outdated version of create-react-app" error 第一次使用 React-app 时出现错误,错误是 core-js-pure@3.6.5 postinstall - I am getting error while using React-app first time, Error is core-js-pure@3.6.5 postinstall 使用 npx create-react-app 时收到此错误消息 - Getting this error messages when using npx create-react-app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM