-
Notifications
You must be signed in to change notification settings - Fork 38
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
Second install fails if install with pnpm and node-linker=hoisted #142
Comments
same problem |
@wangsijie regarding parcel/watcher issue you can just add |
This was referenced Jul 12, 2023
Same problem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
parcel version:
2.0.4
pnpm version:
8.5.1
Code to reproduce the issue:
Clone this repo https://github.com/DzmVasileusky/pnpm-issue-1
run pnpm i
run pnpm i again
Expected behavior:
No errors
Actual behavior:
Additional information:
node -v prints: v16.15.0
Windows, macOS, or Linux?: MacOS
It seems dependencies resolution is happening in a wrong way. Parcel is trying to resolve
node-gyp-build
from a totally wrong directory.node_modules are located here
/Users/dzmvasilevsky/Work/TulaCo/crexi/web/node_modules
while it is looking somewhere like../../[email protected]/node_modules/node-gyp-build/bin.js
while should look at../node-gyp-build/bin.js
. Probably parcel doesn't respectnode-linker=hoisted
which makes an npm like node_modules structureThe text was updated successfully, but these errors were encountered: