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

postinstall script doesn't play well with pnpm on Windows #248

Open
shellscape opened this issue Oct 29, 2023 · 8 comments
Open

postinstall script doesn't play well with pnpm on Windows #248

shellscape opened this issue Oct 29, 2023 · 8 comments

Comments

@shellscape
Copy link

Using the hoisted linker with pnpm results in a failure to run the postinstall script for this package on Windows. This is a very common configuration for working in monorepos with pnpm. Please see this workflow for proof: https://github.com/shellscape/jsx-email/actions/runs/6684802882/job/18162523469#step:10:32

I'm aware that this is likely a pnpm issue at its core, but perhaps this package can be improved to work around that limitation by using a fully resolved path to the file or some such.

@shellscape
Copy link
Author

shellscape commented Jan 23, 2024

@patak-dev any chance we could get some eyeballs on this one 🙏 ?

@patak-dev
Copy link
Member

I'm not a contributor to this project

@shellscape
Copy link
Author

But you are an all-star in the community! Any chance you could ping the right folks? They don't seem to be watching the repo these days.

@antfu
Copy link
Member

antfu commented Jan 24, 2024

Could you share a minimal reproduction with error messages? vue-demi shouldn't fail

@shellscape
Copy link
Author

I'm afraid I'll need some specifics on what you'd like to see beyond what's available in the workflow output I linked to. The repo has no templates or guidance.

You might also find the information on this issue useful pnpm/pnpm#7562

@richardsmogodb
Copy link

@shellscape you can try to set dedupe-peer-dependents=false in your .npmrc

1 similar comment
@richardsmogodb
Copy link

@shellscape you can try to set dedupe-peer-dependents=false in your .npmrc

@shellscape
Copy link
Author

That's a hack at best and produces other issues with dependency installs.

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

No branches or pull requests

4 participants