Skip to main content

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
1 vote
0 answers
24 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-...
James's user avatar
  • 11
0 votes
1 answer
32 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 ...
Riya Kumari's user avatar
0 votes
1 answer
27 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 ...
Mike Radunski's user avatar
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 ...
Yohannes fikre's user avatar
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 ...
AngelQuesada's user avatar
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 ...
Cara Wilderman's user avatar
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\...
Rohan Kumar Tiwary's user avatar
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 ...
Mohit Tiwari's user avatar
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 ...
I am Live's user avatar
0 votes
1 answer
29 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 ...
John Beasley's user avatar
  • 2,853
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 ...
devnull69's user avatar
  • 16.4k
-1 votes
2 answers
174 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 ...
Himanshu Sharma's user avatar
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": [ "...
adamdaly's user avatar
  • 363
-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 ...
user8811409's user avatar
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! ...
Tommy's user avatar
  • 188

15 30 50 per page
1
2 3 4 5
394