Pnpm can't find packages

Every time I try to install anything (an individual package, or just pnpm install) the console spits out hundreds of warnings like this:

 WARN  Cannot find file at /rbd/pnpm-volume/d3241ff9-75e2-48c7-b5af-9317e1be576b/client/node_modules/abab although it was listed by readdir

one line of this for every single file in my node_modules.

it also refuses to run any of the scripts that are listed in client/packge.json as devDependencies, they all just return a ‘not found’ error in the console. i have tried to reinstall many times and just get the same stack of warnings (Cannot find file).

any idea what is going on here?

No, let us know the project name and we’ll take a look. If your project is private, either make it public temporarily or DM me a join link so we can view the code. Thanks.

thanks, after wiping the entire project folder, reimporting from github and reinstalling all packages, it seems to have fixed itself, so i guess this was just ‘have you tried turning it off and on again’

I’m having the same problem, what can I do if I don’t have a backup?