0
votes

I tried literally everything, removing node_modules dozens of times, removing webpack-dev-server and all webpack packages, tried both npm and yarn , downgrading react-scripts and still the problem exist, i can not start a server in my project folder. this is my package.json file:

{
  "name": "test",
  "version": "1.0.0",
  "main": "index.js",
  "license": "MIT",
  "dependencies": {
    "react": "^16.11.0",
    "react-dom": "^16.11.0",
    "react-scripts": "^3.0.0"
  },
  "scripts": {
    "start": "react-scripts start",
    "test": "react-scripts test"
  }
}

And i get that error always: error Command failed with exit code 1.

What can be wrong in my project folder, why server can not be started??

1
Vote on this proposal to ease the tag confusion around [yarn] and [yarnpkg]. - leonheess

1 Answers

0
votes

Which environment do you have? You can try this and this