Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ashiq-r31 opened this issue Jan 10, 2017 · 2 comments

Comments

@ashiq-r31
Copy link

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.

@freimuth82
Copy link

freimuth82 commented Jan 20, 2017

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.

@batbayar-su
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants