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

Module not found: Error: Cannot resolve module 'lodash' #162

Closed
anjolovic opened this issue Dec 14, 2015 · 5 comments
Closed

Module not found: Error: Cannot resolve module 'lodash' #162

anjolovic opened this issue Dec 14, 2015 · 5 comments
Labels
Milestone

Comments

@anjolovic
Copy link

The lodash is not installed at the time of running Rails generate command.

@justin808
Copy link
Member

@anjolovic This should be easy to add. Thanks for the report.

@yorzi I just confirmed this is an issue. If you can throw in a quick fix, that would be greatly appreciated.

https://github.com/shakacode/react_on_rails-generator-results/pull/144/files#diff-52dbbf94d5c54b68c0cad0702ba94a96R38

@justin808 justin808 added the bug label Dec 15, 2015
@justin808 justin808 added this to the 2.0 milestone Dec 15, 2015
@justin808
Copy link
Member

I'm setting the milestone as 2.0, as there's an easy workaround:

cd client && npm i --save lodash

Then rebuild the shrinkwrap.

@yorzi
Copy link
Contributor

yorzi commented Dec 15, 2015

@justin808 why do you point out "babel-core": "^5.8.25" above? I checked master, lodash is only added to package.json when redux was enabled.

@justin808
Copy link
Member

@yorzi Just indicating that we're missing lodash from this spot.

@robwise
Copy link
Contributor

robwise commented Jan 1, 2016

Fixed in #175

@robwise robwise closed this as completed Jan 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants