36
Support pnpm
Rubek Joshi
Currently Strapi does not support pnpm and you run into errors when trying to use it. I think Strapi should support pnpm as it saves up on disk space and development time when creating new Strapi projects. This would close https://github.com/strapi/strapi/issues/15511. There was a little talk about supporting it here: https://github.com/strapi/strapi/issues/9604#issuecomment-792996220.
Aurélien Georget
open
Andréas Hanss
I've also spotted this issue that can be linked as dependency : https://github.com/strapi/strapi/issues/16280
Marko Bošković
using:
- strapi: 4.9.0
- pnpm: 8.1.0
- node: 18.15.0
I had same issue just added following to
.npmrc
in root of strapi project and it work fine now.node-linker=hoisted
shamefully-hoist=true
dedupe-direct-deps=true
Josh Ellis
4.9.0
was released today and has some minor fixes for pnpm
users, although you still should use shamefully-hoist=true
in your .npmrc
.Mirko Pira
Using "node-linker=hoisted" allows you to use PNPM and works very well. This is also very convenient when letting Strapi run inside a Docker container.
Josh Ellis
Experimental release if you're interested –
npx create-strapi-app@0.0.0-6e1871738ea447544c2b6323a8c5f3e804b39dd4
This should be included in
v4.7.1
.Derrick Mehaffy
in progress
Currently our engineers are working on cleaning up dependencies to allow for support for pnpm and yarn 3/berry
Maxx Borer
Derrick Mehaffy: Hello! Any news?