-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Dependencies not installed in production #2468
Comments
Could be another case of #2263? |
Looks like they might be related yes 👍 |
Oops, posted my analysis of this issue in the #761 thread... #761 (comment) |
🎉 |
ConAntonakos
pushed a commit
to ConAntonakos/yarn
that referenced
this issue
Jan 30, 2017
…2468, yarnpkg#2263 (yarnpkg#2537) * Explicitly mark ignored deps of non-ignored packages as non-ignored (yarnpkg#761, yarnpkg#2468, yarnpkg#2263) * Fix style nits
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ref: #761
Moving this particular issue from 761 into it's own issue.
Build is failing on Heroku, but only for production environment. Caching is disabled.
Setting
NODE_MODULES_CACHE=false
didn't help either.Here is the dependency tree:
I think the problem is the deep dependency via
google-cloud
. That is a production module, and bothbabel-cli
andinstanbul
are dev only.Moreover, when I use
yarn why abbrev
, it fails to pick up thegoogle-cloud
andbabel-cli
parent dependents:As observed by @SimenB
istanbul#nopt
also looks wrong in the why output, and that seems likely to be the core of this problem. It seems to think thatnopt
is part ofistanbul
package, instead ofgoogle-cloud
and/orbabel-cli
, and maybe that's why it's not installing it for production environments, becauseistanbul
is not a prod dependency.Full package.json to reproduce:
The text was updated successfully, but these errors were encountered: