-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add support for pnpm #88
Comments
Hey Farro, The PR that makes sure to look for a yarn lock file is specifically aimed at making an export of your server. It's been open for a while, but I'll make sure to add the pnpm lock aswell before we merge it. We don't need the lock-file to set up your server and client in a development environment though. Your issue seems to be related to a issue caused by a default The solution is to configure your workspaces (+pnpm in your case) to no longer hoist the phero packages, but keep them in the separate node_modules of the project folders. I've managed to find the following documentation about hoisting with pnpm (https://pnpm.io/npmrc#hoist-pattern):
We'd love to support workspaces (or any other monorepo setup) out of the box someday, but as of now we're doing a refactor of the way we generate the parsers to make it more accessible and extensible. So these kind of implementations have to wait a bit until we've completed that. Hope this information helps you out. If you have any more questions, please reach out. You can find us on discord aswell (https://discord.com/invite/t97n6wQfkh). |
@Farro178 this is fixed in 0.9.14 🙂 |
We're using pnpm with workspaces and were looking to use this package, unfortunately thats not an option as we don't believe pnpm is yet supported as it's not looking for a pnpm-lock file. Similarly we noticed that support for yarn hasn't been added yet but that is an open PR for it currently.
Keep up the great work anyway, this looks really promising!
The text was updated successfully, but these errors were encountered: