Skip to main content
The 2024 Developer Survey results are live! See the results

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.

1 vote
0 answers
24 views

ReactJS Image viewable on localhost (yarn start) but can't view after build (yarn build)

I inspect the network tab and see that the image contentType being changed to text/html on build version: build img The local yarn start version is fine: start img The image path is correct and the ...
user26521862's user avatar
0 votes
0 answers
16 views

Docker Composer change Image .env variable not working

I have ReactJs app with .env file like this: REACT_APP_SERVER_URL="URL1" Then I using Dockerfile to build to Image: # Fetching the latest node image on apline linux FROM node:22 AS builder # ...
famfamfam's user avatar
  • 518
0 votes
0 answers
13 views

Error: Testing Mantine v6 Components with Jest in an Existing CRA App

I'm facing challenges while trying to add tests using Jest to my existing Create React App (CRA) project, which uses Mantine v6 components. I've been following the testing guidelines in the Mantine ...
Soham Kasar's user avatar
-1 votes
0 answers
18 views

React js with flask production bulid [closed]

I am trying to build a React application with an Apache2 server, and we have communicated with the Flask backend. it will not be communicating with the web UI. we want to best solution of react build ...
Romiyo sumit's user avatar
1 vote
1 answer
20 views

EventEmitter related error on importing AzureClient from @fluidframework/azure-client in React app

Can't import the named export 'EventEmitter' (reexported as 'EventEmitter') from default-exporting module (only default export is available) ERROR in ./node_modules/@fluid-internal/client-utils/lib/...
Aman Sharma's user avatar
1 vote
0 answers
35 views

Unsure if audit results can be ignored with new react project

I'm brand new to React and am wondering if I did something wrong when I installed it initially. When I build a new React project it will run without issue but when I run an audit I get errors. If I ...
Stacey's user avatar
  • 11
2 votes
0 answers
53 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
  • 21
0 votes
1 answer
38 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
42 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
29 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
23 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
40 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
13 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
19 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
24 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

15 30 50 per page
1
2 3 4 5
394