Skip to content

Error: pnpm pack failed #128

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

Open
maelp opened this issue Feb 25, 2025 · 4 comments
Open

Error: pnpm pack failed #128

maelp opened this issue Feb 25, 2025 · 4 comments

Comments

@maelp
Copy link

maelp commented Feb 25, 2025

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
Copy link
Author

maelp commented Feb 25, 2025

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?

@0x80
Copy link
Owner

0x80 commented Feb 26, 2025

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.

@matonny
Copy link

matonny commented Mar 28, 2025

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

Copy link
Owner

0x80 commented Mar 29, 2025

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

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

3 participants