isolate-package
isolate-package copied to clipboard
Error: pnpm pack failed
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?
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?
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.
Perhaps related to #107 - adding version to each package.json fixed the issue for me
Thanks for letting me know. This would get fixed by ISO-26
This should be fixed in with manifest validation in 1.24.0