Top "Create-react-app" questions

create-react-app is a starter-kit for creating React apps with no build configuration.

Use custom build output folder when using create-react-app

Facebook provides a create-react-app command to build react apps. When we run npm run build, we see output in /build …

reactjs create-react-app
Template not provided using create-react-app

When I type the create-react-app my-app command in my terminal, it appears to work - downloading all libraries successfully etc. …

reactjs create-react-app
tslint says calls to console.log are not allowed - How do I allow this?

I just started using create-react-app with typescript create-react-app my-app --scripts-version=react-scripts-ts and the default tslint.json configuration does not allow …

reactjs typescript create-react-app tslint
How to set build .env variables when running create-react-app build script?

I'm using the following environment variable in my create-react-app: console.log(process.env.REACT_APP_API_URL) // http://localhost:5555 It …

reactjs webpack frontend create-react-app react-scripts
create-react-app: how to use https instead of http?

I was wondering if anyone knows how to use https on dev for the 'create-react-app' environment. I can't see anything …

reactjs create-react-app
I can't install react using npx create-react-app?

I am trying to use npx create-react app but i have errors that is shown below: npm ERR! Unexpected end …

reactjs npm create-react-app npx
Best way to polyfill ES6 features in React app that uses create-react-app

I've been testing my React.js application on internet explorer, and finding that some ES6/7 code like Array.prototype.includes() …

javascript reactjs ecmascript-6 create-react-app ecmascript-7
create react app not picking up .env files?

I am using create react app to bootstrap my app. I have added two .env files .env.development and .env.…

reactjs create-react-app
How do I hide API key in create-react-app?

I made a weather app in create-react-app. How do I hide the API key so that I can commit to …

reactjs api github create-react-app api-key
Error: Node Sass version 5.0.0 is incompatible with ^4.0.0

I've created a blank React project, using the command: npx create-react-app on npm v7.0.7 and Node v15.0.1 Installed: React v17.0.1, …

reactjs webpack create-react-app node-sass sass-loader