-
-
Notifications
You must be signed in to change notification settings - Fork 315
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
Missing lodash dependency for admin js package #2264
Comments
Can you try to provide a demo app where this error happens? |
Yes, I can provide a demo app: https://github.com/adnotam/dummy_cms_app/blob/master/package.json
But Alchemy is dependent on
So I wonder why not using
Instead of
Now I realize that I have the problem because I don't have webpacker anymore, at the moment I'm using shakapacker with a forked version of Alchemy. Anyway I think it's a problem, just "hidden" by webpacker at the moment, that's why I think it's ok to have opened the issue here. |
Steps to reproduce
Precompile the assets with
RAILS_ENV=production bin/rake assets:precompile
Expected behavior
No error when precompiling the assets.
Actual behavior
I get the following error:
System configuration
I see a dependency from
lodash-es
instead oflodash
, maybe is it enough to require a different module here or adding the lodash dependency here? I can create a PR once agree on the direction to fix this issue.In development it's fine because I have other packages that depends on
lodash
, so the package is there anyway in thenode_modules
directory.The text was updated successfully, but these errors were encountered: