assuncaocharles/create-react-app-parcel

Error when trying to start crap

YannisMarios opened this issue · 5 comments

Hi I am getting the following error when trying to start crap on Windows 10

Screenshot_2

Then I also installed:

npm install --save eslint@4.19.1

after installing:
Screenshot_4

No eslint is installed globally
Screenshot_3

my package.json:

{
  "name": "test3",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "eslint": "^4.19.1",
    "react": "^16.8.4",
    "react-dom": "^16.8.4",
    "react-scripts-parcel": "0.0.38"
  },
  "scripts": {
    "start": "react-scripts-parcel start",
    "build": "react-scripts-parcel build",
    "test": "react-scripts-parcel test --env=jsdom",
    "eject": "react-scripts-parcel eject"
  },
  "browserslist": {
    "development": [
      "last 2 chrome versions",
      "last 2 firefox versions",
      "last 2 edge versions"
    ],
    "production": [
      ">1%",
      "last 4 versions",
      "Firefox ESR",
      "not ie < 11"
    ]
  }
}

Any help would be appreciated

hey thanks for trying it out! i definitely havent tested this on windows. please figure it out on your own for now as i am not working on this actively at the moment (will definitely get a bunch of activity when parcel 2 goes live)

Just delete the ./node_modules/eslint folder I'm not sure what that is going to break but it at the very least got it starting for me. I'm on linux BTW and was running into the same issue.

Same thing is happening on OSX. Deleting the folder fixed it.

PRs very welcome to fix it if anyone wants to pick this up!

closing and seeking maintainer! #34