react-yelp-clone icon indicating copy to clipboard operation
react-yelp-clone copied to clipboard

npm start error: Failed at the [email protected] start script 'cross-env NODE_ENV=development hjs-dev-server'

Open ashiq-r31 opened this issue 8 years ago • 2 comments

I've done everything according to the instructions in README.md starting from installing dependencies, adding API key to .env. Not entirely sure where to go from here. I've tried changing the port as well.

ashiq-r31 avatar Jan 10 '17 13:01 ashiq-r31

I ran into the same issue and tried npm update which seems to work, but it triggered this error in the console: You have provided a history object created with history v3.x. This version of React Router is not compatible with v3 history objects. Please use history v2.x instead. Seems like I updated too much.

So I uninstalled react, react-dom and react-router (npm uninstall react,react-router,react-dom) and installed the exact same versions which are used in this tutorial with npm install --save-dev [email protected] [email protected] [email protected] Now the code runs.

freimuth82 avatar Jan 20 '17 15:01 freimuth82

I was using 7.10.0 and getting error while doing like @freimuth82 did. Solved it by updating my NodeJS version to 8.9.0

batbayar-su avatar Nov 07 '17 07:11 batbayar-su