3 ms·
I was unable to use pnpm with a project that used Electron (~2 years ago), IIRC because some spawned process was incompatible with symlinks. It's the only time
by scambier 5y ago
I was unable to use pnpm with a project that used Electron (~2 years ago), IIRC because some spawned process was incompatible with symlinks. It's the only time it caused me trouble though, it's indeed much faster than npm. I'd love to use it at work too.
- zkochan 5y agoIn any cases where pnpm doesn't work, you may set the node-linker=hoisted option and it will work: https://pnpm.io/npmrc#node-linker https://pnpm.io/npmrc#node-linker With node-linker=hoisted, pnpm creates a traditional hoisted (aka flat) node_modules, without using symlinks.
- scambier 5y agoGood to know, thanks!