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

do not throw MISSING_HOISTED_LOCATIONS for optional packages #6553

Merged
merged 2 commits into from May 16, 2023

Conversation

douglasward
Copy link
Contributor

When using node-linker=hoisted the MISSING_HOISTED_LOCATIONS error (added by #5819) is thrown if an optional dependency is missing in the hoisted locations in node_modules/.modules.yaml.

This makes it impossible to have a successful install.

See #6092 which was similar but for skipped dependencies.

@douglasward douglasward requested a review from zkochan as a code owner May 16, 2023 15:45
@douglasward douglasward force-pushed the fix-missing-hoisted-locations branch from 3a3abd6 to d5a58c2 Compare May 16, 2023 17:41
@zkochan zkochan merged commit ea28b6f into pnpm:main May 16, 2023
8 checks passed
zkochan added a commit that referenced this pull request May 16, 2023
)

* do not throw MISSING_HOISTED_LOCATIONS for optional packages

* docs: add changesets

---------

Co-authored-by: Douglas Ward <douglas@giantmonkey.de>
Co-authored-by: Zoltan Kochan <z@kochan.io>
@milon27
Copy link

milon27 commented Nov 2, 2023

facing same issue on pnpm:8.10.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants