Total beginner trying to follow the guide and running into error on pnpm install

Hi, I’m totally new to narrat and trying to follow Get Started with Narrat and create a game in a minute | Narrat Documentation, but when I try to install the libraries, I get an error: ‘[ERR_PNPM_EXOTIC_SUBDEP] Exotic dependency “@electron/node-gyp” (resolved via git-repository) is not allowed in subdependencies when blockExoticSubdeps is enabled’.

Googling it hasn’t yielded much, so does anyone here know how to resolve this?

I’m on fedora, nvm version is 26.3.0 and pnpm is 11.6.0.

Recent version of pnpm broke things with some security changes they added that block a lot of standard scripts from running.

I still need to update the docs but try pnpm 10.13.1 (it’s the one narrat currently uses, others might work). you should be able to do npm install -g pnpm@10.13.1.

node.js version might be good to keep at an older one too, I’m not sure if they changed anything, if so the one I’m currently using is 22.17.1