-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Cannot find module 'lodash' #50
Comments
It’s weird because lodash isn’t used in the command (it is only in the generated code). |
Checking the stacktrace:
I went to Here it imports lodash, so probably the issue is there? |
I can confirm that this bug occurs time to time when using Docker. Rebuilding the Docker container fixed the issue in my case. It needs more investigation, but it's probably not directly related to this repository. |
In my case, it happened on my pc (without being in a docker container), and it seemed to always happen unless I had globally installed lodash by myself. Sorry if this seems a repetition of what I wrote above, but I didn't understand if you excluded the issue being in The error trace I printed above points to the handleJson.js in Line 1 is However, in the package.json only |
Good catch thanks for investigating! |
Yeah I'll do that! |
Opened the PR: #51 I had to add |
I've tried to run the command through
npx
on my machine but it doesn't work.If I install the package globally I get the following error
However, I can solve this by globally installing
lodash
The text was updated successfully, but these errors were encountered: