-
-
Notifications
You must be signed in to change notification settings - Fork 957
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
Curiosity: use pnpm with some CLI (Ionic, Angular, ...) #767
Comments
Currently only by removing the generated node_modules folder and re-running installation with pnpm. I don't think rewriting the npm command would be fair. |
I see. The point is that we could install further packages with such CLIs after removing the generated node_modules folder and re-running installation with pnpm. |
I know one tool that allows changing the package manager via an env variable: https://github.com/dylang/npm-check#update-using-ied-or-pnpm I think that is the right way to do it. Would angular/ionic make it configurable? I don't know, maybe they already allow yarn? Maybe they would add pnpm in that case... Or maybe we have to become more popular. In worst case someone can fork angular and substitute npm with pnpm, I would add a link to such a fork to the pnpm README. |
Thank you for your help. angular-cli offers a -native- configuration alternative for the package manager (currently not working with a couple issues because pnpm is not listed as valid package manager). I do not know yet about Ionic. I did open an issue specific to the support for pnpm in angular-cli where I give more details about where I am stuck. npm-check is a great tool, I am checking it. |
As of now, |
Hello,
Any idea ? |
Do you have a sample repo? You can try |
Thanks! It's a little bit better but still got errors:
I forgot to mention that I'm on Windows 10. |
Seems like an issue with |
Any workarounds? |
Not really. |
Also created #1260, because there are other problems without using |
If there are still issues, please set the node-linker=hoisted setting, remove node_modules, and reinstall. |
This is an awesome project and I wonder if there would be an easy enough solution to use pnpm with Angular / Ionic / ... CLIs
The text was updated successfully, but these errors were encountered: