Discourse core is switching to pnpm for JS package management

Good resource, thanks @TonyG

It’s worth noting though - none of the “configuration notes” there are required for Discourse. Not sure why they need it… maybe because it’s a windows-based application?

Also, their note about “In an existing project, just delete the ‘node_modules’ folder” is handled automatically in Discourse by this script :sunglasses:

So for us, it really should be as simple as:

npm install -g pnpm
pnpm install
1 Like