Category "create-react-app"

How configure Jest when using react-app-rewired and customize-cra?

I am trying set up tests with Jest in a create-react-app that is using the override function from customize-cra and react-app-rewired. I have set up a relative

create-react-app : npm ERR! notarget No matching version found for [email protected]

I'm trying to create a new react project with create-react-app as usual : npx create-react-app . But I'm getting an error : npm ERR! code ETARGET npm ERR! nota

Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>

I'm trying to use react-router with reactstrap in a create-reat-app .In the routing page i needed to use state for the reactstrap so i converted the router from

Trying to use fetch and pass in mode: no-cors

I can hit this endpoint, http://catfacts-api.appspot.com/api/facts?number=99 via Postman and it returns JSON Additionally I am using create-react-app and would

React app returning 500 Internal Server Error

I have a react app, created using create-react-app. After I run npm run build, and deploy the app as a static site, everything works except when I refresh the

What is this buildpack error?

I am trying to deploy a react app bootstrapped with create-react-app to heroku. The build keeps failing, and I get this error on the command line and in the bui

How do I import ES6 Module within a create-react-app without causing tests to fail?

When I follow the instructions found here and add the import reference as they specify: import "@ui5/webcomponents/dist/Button"; the application works fine a

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