node.js - 使用“npx create-react-app”创建反应应用程序的问题
问题描述
我想创建一个新的 react 应用程序,我对这些错误消息感到惊讶,尝试卸载 node 和 npm,并重新安装不同的版本。
我也试过:npm cache clean --force
,但没有结果。
那是错误信息:
(base) Omar:Desktop macbookpro$ npx create-react-app test-react
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://npm.community>
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/macbookpro/.npm/_logs/2020-10-11T14_08_39_430Z-debug.log
Install for [ 'create-react-app@latest' ] failed with code 1
解决方案
推荐阅读
- c# - 如何在 Xamarin 中跨内容页面“存储”对象或 JSON?
- google-cloud-platform - 使用“gsutil mv”,不显示任何异常
- apollo-server - 在设置 Apollo 服务器缓存提示时,我如何尊重过滤器?
- javascript - 如何使 HTML 或 URL 与手机兼容
- java - 在构造函数中初始化空实例变量
- python - 如何根据另一个元素访问字典的子元素?
- office-js - Excel JavaScript 自定义函数中的“ReferenceError:找不到变量:需要”
- laravel - 30 分钟后取下按钮。拉拉维尔
- oracle-apex - 共享组件 oracle apex 中的动态 where 子句
- java - 每次重定向到错误页面时登录我的spring boot项目