我已经安装了nodejs,然后我尝试使用npx创建- react app我的应用程序创建react is app,但是它只是停留在安装react dom,cra-模板上,然后我也尝试了npm,但是它也是一样的,请帮助学习react,请帮助我有节点版本16.13.2。和npm版本8.1.2
PS D:\Programming\React Js> npx create-react-app firstapp
Creating a new React app in D:\Programming\React Js\firstapp.
Installing packages. This migh
这是cra的新安装,它的类型记录模板运行在节点13.11.0上,在尝试运行npm时给我带来了错误
TypeScript error in D:/Projects/personal-site/node_modules/@types/testing-library__react/node_modules/pretty-format/build/index.d.ts(7,13):
'=' expected. TS1005
5 | * LICENSE file in the root directory of this source tree.
6 | */
我正在尝试创建一个react应用程序 create-react-app 但是它会得到以下错误 Creating a new React app in /home/freduah/react-jumia-clone/react-jumia-clone.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! Unexpected end of JSON input while pa
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! Cannot read properties of undefined (reading 'isServer')
npm ERR! Cannot read properties of undefined (reading 'isServer')
npm ERR! Cannot read pro
在使用命令“creating app myfirstapp app”创建第一个react应用程序时,我得到了以下错误:
D:\ReactProject>create-react-app myfirstapp
Creating a new React app in D:\ReactProject\myfirstapp.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR
我正在尝试将Firebase的implicit initialization和React应用程序(使用CRA创建)结合起来,因为这似乎是一个很好的方法,可以确保我不需要太担心为不同的环境进行配置。 但是,在运行应用程序时,如果我尝试使用firebase对象,则会收到错误Firebase: No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp() (app/no-app). 我的索引文件在应用程序文件之前包含了Firebase文件,如果我在Firebase提供的init中放置
我已经在我的计算机上安装了节点(当前版本: 18.9.0),并试图创建一个react应用程序,但总是失败。
npx create-react-app my-app-one
我所犯的错误:
C:\Users\MyName\Documents\React>npx create-react-app my-app-one
Need to install the following packages:
create-react-app@5.0.1
Ok to proceed? (y) y
npm WARN deprecated tar@2.2.2: This version of tar is
我尝试使用以下命令创建一个react项目
npx create-react-app chat-app
但是我得到了这个错误。
Creating a new React app in /home/mikhil/react-tutorial/internshala-react-course/chat-app.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ERE
当我试图创建一个react应用程序时,我一直在我的shell中得到这个E404错误。我可能把重要的文件从我的电脑上删除了,就像一个绝对的菜鸟。我尝试过的一个可能的解决方案是使用npm set registry https://registry.npmjs.org,但这没有帮助。我一直在寻找解决这个问题的方法,但没有找到解决办法。有人遇到过这种情况吗?有什么建议吗?感谢您的阅读!
npm get registry返回https://skimdb.npmjs.com/registry
Creating a new React app in /home/elilogbro/portfolio.
I
尝试遵循以下指南:How to Build a Simple React app With Express API,但在运行 npx create-react-app react-express-app --template typescript 我得到以下输出: npx: installed 98 in 12.964s
Creating a new React app in /home/aioobe/projects/daily-challenge-5/react-express-app.
error Could not open cafile: ENOENT: no such fil
我尝试运行npm运行故事书后,第一次安装在我的新的创建-反应-应用程序的应用程序,我得到了这个错误。有人知道怎么解决这个问题吗?
$ npm run storybook
> mystorybookapp@0.1.0 storybook
> start-storybook -p 6006 -s public
info @storybook/react v6.4.22
info
(node:19248) DeprecationWarning: --static-dir CLI flag is deprecated, see:
https://github.com/stor
当我在我的终端中输入create-react-app my-app命令时,它看起来很有效--成功地下载了所有的库等等。然而,在这个过程的末尾,我得到了一条消息,即template was not provided。
输入
user@users-MacBook-Pro-2 Desktop% create-react-app my-app
输出
Creating a new React app in /Users/user/Desktop/my-app.
Installing packages. This might take a couple of minutes.
Installing re
我正在尝试创建一个使用npx create-react-app client的react应用程序。
我得到以下错误:
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
npm ERR! code ETARGET
npm ERR! notarget No matching version found for react-dev-utils@^12.0.0.
npm ERR! notarget I
I am making API calls from my CRA (Create React App). Sometimes while opening a random page all of the API calls are showing the status of "pending" forever. When I refresh my page then, all the APIs work fine. These are the details of the API in "pending" status. const checkWelcome
我是新的反应,我试图创建一个新的创建一个应用程序,但无论我做什么,我会得到同样的错误。
:npm错误!在解析“...nt”时意外结束JSON输入:“^7.1.0”、“babel-p”
我觉得巴贝尔有点问题。
C:\Users\Augustus\Desktop>npx create-react-app myapp
Creating a new React app in C:\Users\Augustus\Desktop\myapp.
Installing packages. This might take a couple of minutes.
Installing react,
npm create-react-app在发现0个漏洞时卡住了,然后在那之后就卡住了。我必须在那之后使用Ctrl+C才能退出,但并没有显示出任何成功。以供参考,说明如下 $ npx create-react-app foo
Creating a new React app in C:\Users\Afshan\Desktop\foo.
Installing packages. This might tak
D:\IT\Practic work\React> create-react-app test
Creating a new React app in D:\IT\Practic work\React\test.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
Aborting installation.
Unexpected error. Please report it as
使用纱线2(纱公斤/浆果)
终端
% yarn set version berry
% yarn dlx create-react-app apple
% cd apple
% yarn start
浏览器中的
Failed to compile
Failed to load config "react-app" to extend from.
Referenced from: D:\Projects\apple\package.json
This error occurred during the build time and cannot be dismissed.
我该如
谁能帮我解释为什么我的windows电脑上的npm create-react-app不能完成?虽然我等了几个小时,但它总是以这样的方式结束,并且永远不会完成安装。
C:\Users\Best\Desktop>npx create-react-app my-app
npx: installed 98 in 44.022s
Creating a new React app in C:\Users\Best\Desktop\my-app.
Installing packages. This might take a couple of minutes.
Installing react,
当我在我的windows pc上执行create-react-app时,只安装依赖项,没有安装node_modules以外的任何文件夹,即使使用Yarn,我也没有走多远。请提前给予帮助和感谢。这就是我所得到的 C:\Users\Arsh Deep\Desktop>create-react-app myapp2
Creating a new React app in C:\Users\Arsh Deep\Desktop\myapp2.
Installing packages. This might take a couple of minutes.
Installing react,
我用命令
'npx create-react-app sample-app --use-npm'
在屏幕上,它像这样显示
Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template...
它停留了无限的时间。
反应组的人能帮我们解决这个问题吗。我相信很多人都会面对这样的问题。