-
-
Notifications
You must be signed in to change notification settings - Fork 941
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
of vue-demi on Windows
#7562
Comments
Some more on what I've learned since opening this. Since I have this in the workflow:
and more notabably, I then tried setting the shell in the workflow to
But that also yielded a failure. Consulted the pnpm docs on
Which did ultimately complete a successful install. So while I don't think this is a bug in pnpm any longer, there's a few takeaways questions there that might help to improve pnpm:
|
Verify latest release
pnpm version
corepack prepare pnpm@latest --activate
Which area(s) of pnpm are affected? (leave empty if unsure)
CLI
Link to the code that reproduces this issue or a replay of the bug
see below
Reproduction steps
vueuse/vue-demi#248 outlines the original issue. I was hoping it was something that might get fixed on Vue's end by using a different method, but it got no traction. This appears like it could be a bug with pnpm, but wanted to run this by the team to see.
The .npmrc with configuration is located here: https://github.com/shellscape/jsx-email/blob/main/.npmrc
Describe the Bug
Here's an additional failing workflow run: https://github.com/shellscape/jsx-email/actions/runs/7631321526/job/20789011768#step:10:22
I suspect that this is a cross-platform path bug, but haven't been able to verify yet. The weird thing is that there isn't any error message, just bails and says that it failed.
Expected Behavior
If it was a path issue, I thought I'd see an error describing the error. Something like this:
So this could possibly be an issue with output/logging rather than failing to run a script in postinstall?
Which Node.js version are you using?
18
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
n/a
The text was updated successfully, but these errors were encountered: