Error: ‘node-sass’ version 5.0.0 is incompatible with ^4.0.0

TL;DR npm uninstall node-sass npm install [email protected] Or, if using Yarn (default in newer CRA versions) yarn remove node-sass yarn add [email protected] Edit2: sass-loader v10.0.5 fixes it. The problem is you might not be using it as a project dependency, but more as a dependency of your dependencies. CRA uses a fixed version, angular-cli locks to node-sass v4, and so on. … Read more

NPM Start not starting local server

I am trying to make an react app using webpack and when I try to run npm start it should load http://localhost:3333 but it says site cannot be reached, here is my webpack config: And here is my script object from package.json: “start”: “webpack-dev-server”. I have already installed webpack & webpack-dev-server globally. Check below image which I am getting:  … Read more

Babel 7 – ReferenceError: regeneratorRuntime is not defined

Updated Answer: If you are using Babel 7.4.0 or newer, then @babel/polyfill has been deprecated. Instead, you will want to use the following at the top of your main js file (likely index.js or similar): Install these packages either with npm: or with yarn: Original Answer: I just encountered this problem and came across the … Read more