Category "create-react-app"

create react app Configuration file after build app

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?

Why does my React Router return blank pages?

I am using the latest version of create-react-app. I have searched all tutorials and tried a few websites with different tutorials but I am not getting errors.

Error: Failed to load parser 'babel-eslint' declared in '.eslintrc': Cannot find module 'babel-eslint' in create-react-app

Trying to install eslint into create-react-app, but get next error when running linter: Here is my .eslintrc config file: { "extends": ["airbnb", "prettie

How to change PublicPath for Create React App in Dev Environment

I am using Microsoft.DotNet.Web.Spa.ProjectTemplates::2.0.0-rc1-final which internally uses Create-react-app and AspnetCore.ReactDevelopmentServer My Dev. Envi

How to use Yarn 2 (or 3) to run create-react-app without specifying a new directory?

I am trying to migrate from NPM to Yarn for the sole reason of getting rid of 'node_modules' folder. I am trying to use CRA tool. However, on CRA it advises to

React: Where To Extend Object Prototype

I created a pure React application using create-react-app. I would like to extend the String class and use it in one or more components. For example: String.pr

GitHub: repository not pushing the folder created with create-react-app

I want to initialise a repository with the following folder structure. main-folder |-- project_backend |-- project-frontend Just for reference, the backend

Why I get this error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)?

I tried a lot, but my projects don't run with yarn, while already worked(made with create-react-app). I tried: yarn install - npm install --global yarn - npm up

create-react-app throws error: "Missing dependencies in package.json"

So I'm trying to run reactjs official tutorial and with the first line of code: npx create-react-app react-tutorial ...I get the following error: npx: inst

How to build a production version of React without minification?

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

Error installing create-react-app with npm

When I try to install create-react-app (or nodemon) globally or even within a project, I get the following error. However, I can install other packages perfectl

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 of Json input while parsing near '...eact-app/-/create-r

Create React App Error when trying to run command npx create react app: spawn UNKNOWN

When I try to run a simple npx create-react-app i received this error: D:\>npx create-react-app abc npx: installed 67 in 4.255s Creating a new React app in

Images not loading when deploying to Github pages

I am using create-react-app to develop my react app and deploy it to Github pages. My app works correctly on development. But when I deploy, it successfully dep

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 d

When does create-react-app obfuscate or minify code?

I have kind of a basic question about webpack and react that I can use help with (around code obfuscation/uglification). I am using create-react-app for my ap

React, different env files with create-react-app

I am trying to set up different environment files in a React project (using create-react-app). I following the official documentation but I am getting an error:

Error while trying to create react app using npm

I'm trying to creating react app using create-react-app command but I get this error message: npm ERR! code ERR_SOCKET_TIMEOUT npm ERR! errno ERR_SOCKET_TIMEOUT

Jest - SyntaxError: Cannot use import statement outside a module

I am using jest:24.9.0 without any configuration, installed globally from a create-react-app. Inside these files I am using es6 modules. There is no error when

Issues with uninstalling create-react-app

I am running npm uninstall create-react-app, and it returns npm WARN saveError ENOENT: no such file or directory, open '/Users/me/Documents/package.json' npm W