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.
Questions tagged [create-react-app]
5893 questions
3
votes
1 answer
ES6 Polyfill for create-react-app isn't working
I have created a new reactjs project using create-react-app and am finding it's not working on IE10 & IE9. I have done a lot of research and it led me to using polyfills, which I have done with many of my other Rails on React app, but I'm finding it…

Sixers17
- 592
- 2
- 5
- 20
3
votes
1 answer
Can create-react-app / WebpackDevServer proxy to a host using Kerberos SSO?
I have a spring-boot application which implements Kerberos single-sign-on and exposes both REST and STOMP websockets over HTTPS/WSS. I need to set this up with a proxy for local development.
I've attempted to add both the following to…

Jon Freedman
- 9,469
- 4
- 39
- 58
3
votes
1 answer
Using runtime env with React and heroku
SoI have a staging and production apps on heroku.
I also use create-react-app, where the environmental variables are embedded during the build time. Since the build happens on staging and then the app is released to production, I'm having staging…

mdmb
- 4,833
- 7
- 42
- 90
3
votes
0 answers
Express Server Redirect to React Router 404 Not Found
I'm building a React application using an Express Server on the backend , and have used Create React App for the frontend. I'm using Concurrently to run both the back (http://localhost:5000) and frontend (http://localhost:3000) servers during…

Patrick Robertson
- 31
- 2
3
votes
1 answer
REACT_EDITOR=atom ERR
My console keeps on saying that
"To set up the editor integration, add something like REACT_EDITOR=atom to the .env.local file in your project folder and restart the development server. Learn more"
I cant even find the .env file on my…

Crisostomo Ibarra
- 77
- 1
- 2
- 9
3
votes
1 answer
PWA not displaying custom icon according to manifest.json (Node.js on Heroku)
I have a PWA built with CRA, it's hosted on Heroku. The PWA is downloadable on my iOS device and everything works fine, EXCEPT the icon.
I'm not sure if the file reference is correct, because it changes during Heroku Build. I've tried both my…

Izzi
- 2,184
- 1
- 16
- 26
3
votes
1 answer
Why does debugger ask me to eject again?
I am getting my head around create-react-app and just tried the eject option. After 'yarn eject' I am trying to debug via the terminal:
> react-scripts --inspect-brk test --runInBand
Debugger listening on…

bier hier
- 20,970
- 42
- 97
- 166
3
votes
0 answers
Is there a way to update a service worker when building with webpack?
I am implementing service worker caching of my static js app. Everything works fine but to notify a user that is using the app that there is a new version available I need to be sure that I update the service worker file so the hash of it will be…

ciaoben
- 3,138
- 4
- 27
- 42
3
votes
3 answers
How to create a simple list maker app in React.JS?
I'm working on a simple list maker, to do list app using create-react-app and I'm having some trouble puzzling out the functionality. What I'm trying to accomplish with this app:
I want to be able to enter text into an input, push the button or…

Ashley E.
- 473
- 2
- 6
- 12
3
votes
0 answers
Production Build doesn't load images
I'm trying to display a profile picture for a profile.
The user can replace his profile picture with another one.
I do that by deleting the old image and add the new one that's uploaded BUT with the same name, that means after refresh React is…

ANUBIS
- 666
- 1
- 9
- 20
3
votes
3 answers
YARN START gives no space left on device error
OS : UBUNTU 18.04
I created a simple create-react-app project then fired up a server using yarn start. 30% of the times it works fine but 70% of the times I get the following error.
Starting the development server...
events.js:167
throw er; //…

Pramesh Bajracharya
- 2,153
- 3
- 28
- 54
3
votes
1 answer
Import multiple similar svg sources in create-react-app efficiently?
I'm going to import a bunch of SVG illustrations into my project as inline SVG components using the new feature of create-react-app @2.0.0.
Here is my svg-import.js:
import React from 'react';
import { ReactComponent as StartLogo } from…

Kent Yang
- 107
- 2
- 9
3
votes
1 answer
reactjs service worker update
I have a PWA made by create-react-app.
I have service worker enabled as by default.
import registerServiceWorker from './registerServiceWorker'
import App from './App'
ReactDOM.render(
,…

Mauro Sala
- 1,166
- 2
- 12
- 33
3
votes
0 answers
Debugging js source files from create-react-app in IE11
Is it possible to debug the source js files in IE 11 in a create-react-app project?
I have no problem doing this in chrome - but in IE11 I only have access to the bundle.js . In chrome it seems it knows how to use the source maps. I'd prefer to do…

Ryan
- 449
- 5
- 21
3
votes
1 answer
Relative path being added to fetch request
I am making a react app using create-react-app and react-router-dom 4. My issue is, when I load a URL other than the default "/", the relative path gets prepended to requests being made.
For instance if I enter mysite.com/templates into the url…

AlexVestin
- 2,548
- 2
- 16
- 20