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 shrinkwrap causes issues on setup #72

Closed
jbhatab opened this issue Oct 31, 2015 · 2 comments
Closed

npm shrinkwrap causes issues on setup #72

jbhatab opened this issue Oct 31, 2015 · 2 comments

Comments

@jbhatab
Copy link
Member

jbhatab commented Oct 31, 2015

Every time I setup react_on_rails on my machine with the generators, the npm-shrinkwrap file breaks my setup.

I cd into client, run npm install successfully. Then I cd up to the root and run foreman start -f Procfile.dev. Then it gives me an error involving the 'body-parser' module.

I solve this by deleting the npm-shrinkwrap file and re running npm install in the client directory.

@justin808
Copy link
Member

Most likely the issue is using the same version of npm and node that generated the shrinkwrap file.

@robwise We should make sure the generator installs the package.json, but runs the command to shrinkwrap.

@jbhatab
Copy link
Member Author

jbhatab commented Oct 31, 2015

Sounds good.

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

2 participants