Pnpm error on WSL2

Trying to install OttoDev on WSL2. I get the following error when running pnpm install. Any ideas?

Can it run on WSL2?

~/bolt.new-any-llm > pnpm install
Lockfile is up to date, resolution step is skipped
Packages: +1144
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 1144, reused 1144, downloaded 0, added 0, done
node_modules/.pnpm/esbuild@0.17.19/node_modules/esbuild: Running postinstall script...
node_modules/.pnpm/esbuild@0.23.1/node_modules/esbuild: Running postinstall script...
node_modules/.pnpm/esbuild@0.21.5/node_modules/esbuild: Running postinstall script...
node_modules/.pnpm/workerd@1.20241106.1/node_modules/workerd: Running postinstall script...
node_modules/.pnpm/esbuild@0.17.6/node_modules/esbuild: Running postinstall script...
 ELIFECYCLE  Command failed.
1 Like

Hey @Wim! Sorry you are running into this! Could you try these commands:

rm -rf node_modules
pnpm store prune

And then run:

pnpm install --force

If that doesn’t work, try running:

pnpm install --verbose

And see if you get a more helpful error message. You should be able to do this with WSL2!