DEV Community

Discussion on: Do you use PNPM? If yes why?

Collapse
 
syeo66 profile image
Red Ochsenbein (he/him)

Tried it on several of my private projects. Unfortunately it worked only in 25% of all cases. Seems a hassle to get it to work in the other ones... so, I'll stick to yarn. Maybe the story would be different when starting new projects (which I'll certainly try to start with pnpm)

Collapse
 
zkochan profile image
Zoltan Kochan

When pnpm doesn't work, you can always set the node-linker=hoisted setting and pnpm will create a regular hoisted node_modules without using symlinks. It will work with all projects that work with Yarn.