Skip to content
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

Failing to pack with PNPM #56

Closed
pwalczyszyn opened this issue Mar 16, 2024 · 4 comments
Closed

Failing to pack with PNPM #56

pwalczyszyn opened this issue Mar 16, 2024 · 4 comments

Comments

@pwalczyszyn
Copy link

Any idea where I can look for cause of this error?

image

@0x80
Copy link
Owner

0x80 commented Mar 16, 2024

I haven't seen this before. But I plan to do an update soon, so I will try to improve the error logging so that it displays more context.

What OS are you on?

It might be related to your file structure. It seems frontend and backend are registered as packages in the root, but also packages is a subfolder with packages there. That is not how monorepos are typically structured.

Nested structures are not supported AFAIK. Not by turborepo and not by isolate-package last time I checked.

I would advise to move frontend and backend also in some sort of packages folder.

I usually use apps, services and packages, where apps and services are packages that are deployed or executed and packages are shared libraries.

@pwalczyszyn
Copy link
Author

pwalczyszyn commented Mar 16, 2024

I'm on Mac, and I have same error when I moved backend and frontend under apps folder.

image

@0x80
Copy link
Owner

0x80 commented Mar 17, 2024

Hmm 🤔

Could you please try executing the pnpm pack command, with the parameter as given in your screenshot, from one of your packages directly?

What version of pnpm are you using?

@0x80
Copy link
Owner

0x80 commented Mar 31, 2024

@pwalczyszyn I will close this issue for now. Feel free to re-open it if you have additional info.

@0x80 0x80 closed this as completed Mar 31, 2024
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

2 participants