isolate-package icon indicating copy to clipboard operation
isolate-package copied to clipboard

Error: pnpm pack failed

Open maelp opened this issue 8 months ago • 4 comments
trafficstars

When I run isolate I get this error

$ pnpm isolate
error Command failed: pnpm pack --pack-destination "/home/runner/work/gouach-backend/gouach-backend/infra-api/isolate/__tmp"
Error: Command failed: pnpm pack --pack-destination "/home/runner/work/gouach-backend/gouach-backend/infra-api/isolate/__tmp"

but if I copy paste pnpm pack --pack-destination "/home/runner/work/gouach-backend/gouach-backend/infra-api/isolate/__tmp in the terminal it works?

maelp avatar Feb 25 '25 11:02 maelp

I guess it has something to do with this? https://github.com/0x80/isolate-package/blob/main/src/lib/utils/pack.ts#L24

I'm using pnpm v. 10.4.1 perhaps it shows output on stderr?

maelp avatar Feb 25 '25 11:02 maelp

I have no idea. That line in the code is about detecting that pnpm is the package manger before deciding to use the executable.

I am have been using v10 for a while, currently at 10.5, but I haven't run into any issues.

I have it installed via corepack, but not sure if that makes a difference. I will try to log more of the output when I make the next update, but other than that I have no clue what to do about this.

0x80 avatar Feb 26 '25 16:02 0x80

Perhaps related to #107 - adding version to each package.json fixed the issue for me

matonny avatar Mar 28 '25 14:03 matonny

Thanks for letting me know. This would get fixed by ISO-26

0x80 avatar Mar 29 '25 09:03 0x80

This should be fixed in with manifest validation in 1.24.0

0x80 avatar Jul 14 '25 10:07 0x80