Questions tagged [create-react-app]
create-react-app is a starter-kit for creating React applications with no build configuration. If you’re getting started with React, use this to automate the build of your application. There isn't any configuration file, and react-scripts is the only extra build dependency in your package.json file. Your environment will have everything you need to build a modern React application.
create-react-app
5,893
questions
2
votes
0
answers
33
views
npx hanging during initialization of react, expo, and next app
I am currently experiencing an issue where the following commands (and potentially more) hang indefinitely when trying to initialize a project:
npx create-react-app
npx create-expo-app
npx create-...
0
votes
1
answer
33
views
I am not able to create my first react app. Can anyone help me?
PS C:\Users\rkmgr\OneDrive\Desktop\react course> npx create-react-app my-app
npm error code ENOENT
npm error syscall lstat
npm error path C:\Users\rkmgr\OneDrive\Desktop\react course\%APPDATA%\npm
...
0
votes
1
answer
31
views
vulnerabilities when creating react app, how to fix it?
Each time I create a react up I get:
8 vulnerabilities (2 moderate, 6 high)
I tried to fix it with npm audit fix, but it didn't change anything. I tried to fix it with npm audit fix --force, but it ...
0
votes
2
answers
26
views
can i get a solution for an error occurred during creating react app using create-react-app?
when i tried to create a react app using create-react-app im faced with error and unable to create the app.
and the error is....
npm error code EAI_AGAIN
npm error syscall getaddrinfo
npm error ...
0
votes
0
answers
19
views
Package http-proxy-middleware with create-react-app not working
So I'm creating an app with create-react-app and I'm trying to use a proxy to solve all the CORS stuff.
I've tried everything but there's no way to make it work but I'm 100% sure that I'm missing ...
0
votes
1
answer
35
views
Create React App and CSS caching in production
I have a medium size React app created using Create React App (it has a .NET backend). When I run it locally there are no problems with caching - I make a change in CSS and I instantly see the change ...
0
votes
0
answers
11
views
How to solve this as in cmd its working but on vs code terminal its not working
C:\react>npx create-react-app GGPTL
npm error code ENOENT
npm error syscall spawn C:\Program Files\nodejs
npm error path C:\react
npm error errno -4058
npm error enoent spawn C:\Program Files\...
0
votes
0
answers
14
views
GSAP ScrollTrigger does'nt work after a reload
So i was trying to create my personal site and I want that the title text slides up when we scroll into it but in this code this works fine first but it does'nt work after a reload.... someone please ...
0
votes
0
answers
23
views
Migrating from CRA to Vite: Uncaught TypeError: Unable to determine current node version
Migrating from CRA to Vite for a react project. After running the vite project, it displays a blank page. There's a console error:
Uncaught TypeError: Unable to determine current node version
at ...
0
votes
1
answer
30
views
React can't resolve bootstrap [closed]
While following a tutorial, I began the frontend of this React project by running the following command:
npx create-react-app frontend
The instructor of this tutorial specified that he was using ...
0
votes
1
answer
50
views
Migration from CRA to vite: Unable to determine current node version
I like the way vite sets up, builds and starts a react application. That's why I fully switched to using vite in my new projects
Now I have an older project (2 years) which I wanted to migrate to vite ...
-1
votes
2
answers
180
views
None of my react projects deployed on firebase are working [closed]
Whenever I deploy a firebase project and go to the url, it shows me a blank page. Earlier (last year) when I used to deploy they used to work fine. They all run fine locally and even with the build ...
0
votes
0
answers
22
views
Jest transform in package.json isn't being called
I'm using Create React App and I'd like to add a transform function to Jest. I'm doing this in the package.json using:
{
...
"jest": {
"collectCoverageFrom": [
"...
-1
votes
0
answers
20
views
Migrating from create-react-app -> next.js - imported components work but only if called with ".default"
I'm in the process of migrating my create-react-app application to next.js by following their official guide: https://nextjs.org/docs/app/building-your-application/upgrading/from-create-react-app
At ...
0
votes
1
answer
42
views
How can I get a compatible React package ecosystem having both react-scripts@x and typescript@^5?
I intend to install >= [email protected] but - as Vercel deployed - having currently [email protected], which is incompatible with typescript@5.
npm ERR! node_modules/typescript
npm ERR! ...