W
Wasp2w ago
qdeehwee

Use pnpm instead of npm

Is there a way to use pnpm instead of npm?
6 Replies
kapa.ai
kapa.ai2w ago
Hi @qdeehwee. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Based on the knowledge sources provided, there's currently no official support for using pnpm instead of npm in Wasp projects. Wasp is specifically designed to work with npm as its package manager. The documentation and GitHub issues indicate that: 1. Wasp projects use a standard package.json file for dependencies, which is located at the root of your project Dependencies documentation. 2. There's a GitHub issue (#853) where a user asked about using custom npm registries, but there's no mention of alternative package managers like pnpm GitHub Issue #853. 3. In a Discord support thread, a community member specifically asked about choosing a different package manager (mentioning pnpm and bun), indicating this isn't currently supported. 4. Wasp has specific requirements for Node.js (version >= 18) and uses npm for package management Quick Start documentation. If you need to use pnpm for your project, you might want to consider creating a feature request on the Wasp GitHub repository, as there doesn't appear to be an existing issue specifically addressing support for alternative package managers like pnpm. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @qdeehwee, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
toticozeni
toticozeni2w ago
Hey @qdeehwee, sadly still no support for other package managers like bun or pnpm.
qdeehwee
qdeehweeOP2w ago
Thanks, is it on roadmap?
toticozeni
toticozeni2w ago
Yes, but not on the shorter one. In the long run we want to support them, but that will most likely come after 1.0.
qdeehwee
qdeehweeOP2w ago
Alright thank you
Filip
Filip2w ago
Here's an issue if you want to track it: https://github.com/wasp-lang/wasp/issues/2262 @qdeehwee Thanks for the suggestion and interest!
GitHub
Support different package managers · Issue #2262 · wasp-lang/wasp
Idea: let the user choose their package manager (yarn, npm, or pnpm). Alternatively, make the choice for them. If we go down this route, let's explore pnpm. It's supposed to be much faster ...

Did you find this page helpful?