vueuse/vue-demi

`postinstall` script doesn't play well with `pnpm` on Windows

Opened this issue · 8 comments

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.

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

I'm not a contributor to this project

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 commented

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

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

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

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

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