react-scripts Questions
5
"scripts": {
"start": "cross-env NODE_PATH=src react-scripts start",
"build": "cross-env NODE_PATH=src react-scripts build",
}
How do I change...
Gavelkind asked 3/1, 2022 at 9:52
3
Solved
I want to have coverage report for only one file that I am working on at the moment.
It is a bit overwhelming to have the full table of coverage for the whole application files and then search for ...
Offstage asked 5/3, 2021 at 12:13
10
Hello there I am getting some error in my terminal and its say i need to use 4.4.0 version and my current version is ...
In my project my current typescript version is given below,
"typescrip...
Kermanshah asked 28/6, 2022 at 15:25
7
Solved
Background
I've been following more or less the official guide to setup a local dev environment with react and it seems to use create-react-app, which sets up really a lot.
Now, if I run npm run ...
Nullifidian asked 14/3, 2019 at 14:46
6
Solved
I've been working with a React project using create-react-app and I have two options to start the project:
First way:
npm run start with the definition at the package.json like this:
"start&qu...
Kings asked 6/6, 2018 at 13:48
3
Solved
I tried suggestions made here and in other places, but can't get the vscode debugger to work properly, I.E. breakpoints never become active 🔴 and of course they don't break.
The application is nor...
Phenylalanine asked 9/3, 2022 at 16:27
7
Solved
I'm using the following environment variable in my create-react-app:
console.log(process.env.REACT_APP_API_URL) // http://localhost:5555
It works when I run npm start by reading a .env file:
RE...
Animosity asked 25/2, 2017 at 16:16
7
Hello i have a reactjs app, and I build my project with bellow command
npm build
Here is my package.json file:
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"...
Maudemaudie asked 15/9, 2017 at 9:6
2
I upgraded to the react-scripts v5 and my build fails with an unuseful message:
Creating an optimized production build...
Failed to compile.
Module not found: Error: Can't resolve '...' in '/proje...
Penelopepeneplain asked 20/12, 2021 at 12:59
7
Solved
I create react app with create-react-app and install react-admin . when I want to start development server with yarn start throw an error unhand-led 'error' event and say Command failed with exit c...
Hi asked 5/5, 2020 at 11:11
4
Solved
I want a Config File (JSON) in root folder after build to config my app.
like Translation and API Urls and ...
Can I do this with create react app?
Anesthesia asked 16/5, 2018 at 11:17
2
Solved
First I will give some context to the problem.
I am developing an npm library. Inside the project folder, I have another folder called "example", for testing the library. The structure looks like ...
Allopathy asked 27/4, 2019 at 9:11
22
Solved
I have a react app created by create-react-app. After running npm start (the start script is present in package.json as "start": "react-scripts start") the console says Starting the development ser...
Girlish asked 7/11, 2019 at 6:48
1
I am building an app in Ionic/react, and up until this point it has functioned normally. I ran into an error with the FFI architecture in Ruby, and ran a brew install ruby, exported the path, and r...
Appaloosa asked 3/5, 2022 at 22:7
2
Solved
I have a react app. In my package.json:
"build": "react-scripts build",
After running this build script:
npm run build
Everything is built into the build folder and any files ...
Moonlit asked 19/8, 2020 at 18:24
23
Solved
All I am doing is running create-react-app and cd'ing into the app, then trying to run npm/yarn start. I get the following error/output/log. I have walked through all of the suggested steps. The on...
Miun asked 31/10, 2018 at 17:34
12
Solved
I started a React app with
npm start
with start defined in package.json:
{
"name": "testreactapp",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^15.6.1",
"react-dom": ...
Radcliff asked 7/8, 2017 at 9:55
3
Solved
I have created a React App with "create-react-app" and it runs fine via "npm start" however, when I try to build or deploy to Heroku I get an error from the react-scripts build.js with the log:
--...
Monecious asked 28/8, 2019 at 8:51
4
Solved
I am having an error when I build my application in react. I noticed this error only when I tried to build application.
When I stopped dev server and ran it again, it showed the same error. It seem...
Darlenedarline asked 27/1, 2021 at 15:57
1
I've spent days on this issue. Yes, I upgraded to react-scripts 5, yes, I put "react-error-overlay": "6.0.9" in package.json, yes, I deleted the node-modules + package-lock.json...
Studious asked 15/6, 2022 at 16:36
3
Solved
I created my React app with create-react-app and now use TypeScript with create-react-app-typescript.
Everything works ok, but the problem is - especially because I use the good but heavy material...
Swimmingly asked 1/8, 2017 at 22:40
3
In this tutorial, how does npm start find the src/index/js to star the render? I can't find the configuration of this anywhere.
Fiord asked 7/6, 2017 at 5:5
4
Solved
I have a React project, and I run it with yarn start that runs react-scripts start.
I want to use Visual Studio 2017 to edit code and run the app, but I don't want to run using the VS2017 node.js ...
Huai asked 4/1, 2019 at 16:58
3
Solved
After upgrading react-scripts to v5, craco start does not work properly. App starts with no error but in browser, there is a blank page and if i open inspector, i only see index.html codes not reac...
Planar asked 23/2, 2022 at 9:5
9
Solved
I'd like to know if it's possible using react-script to rename src to something else like app folder
Screwdriver asked 9/6, 2017 at 3:33
1 Next >
© 2022 - 2025 — McMap. All rights reserved.