-
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
kpm install
then kpm check
reports errors
#86
Comments
Looks like there's some differences between the deduping for install and check... |
Looks like the difference is caused between strict and loose module installing modes. |
Still an issue, unfortunately. I've troubleshooted but the hoisting is taking me a while to wrap my head around. Repo steps:
|
Subsequent installs are successful while check continues to fail. I've looked at commands/check.js and commands/install.js and they appear to be following similar code paths. I've merged differences with no luck. |
The deps that fail check command are dev dependencies. |
More info, the problem is in
Just removing I'll investigate more tomorrow |
Last info for today, there is a bug in hoisting algorithm for the above package.json: jest-cli@13.0.0 -> yargs@4.7.1 -> camelcase@3.0.0 This installs jest-runtime/node_modules/yargs but not jest-runtime/node_modules/camelcase. |
Added #89 with an e2e test. |
@shayne, there is a way around this bug for now. |
- nohoist implementation - 'why' command fixes - 'add' command fixes - tests and test fixtures see [RFC yarnpkg#86](yarnpkg/rfcs#86) for detail
* nohoist impl check point - nohoist implementation - 'why' command fixes - 'add' command fixes - tests and test fixtures see [RFC #86](yarnpkg/rfcs#86) for detail * fix not adding devDependencies * add nohoist flag and eligibility check 1. added a new flags 'workspaces-nohoist-experimental' to disable nohoist. 2. added eligibility validation in Config.getWorkspaces, violation will be reported and config be ignored. 3. update test fixtures to add private flag for nohoist tests * revert path separator to '#' for display * pass through private flag in root manifest * fix lint error * addressing @bestander review comments on 1/8 * fix merge conflict * fix merge lint issues * address @arcanis comments * update snapshot after merge * one more snapshot update
The text was updated successfully, but these errors were encountered: