I found a previous post that you answered to run this in the console - enable-npm and it seems to have fixed it
So is that the best thing to do is just run that command? Because I hadnt added any packages or anything. I did leave this up plus the console and let my PC go to sleep mode over night - I didn’t shut down my project or console - could that do it?
Glad you figured out a way to fix it. I looked at your code, it appears that there was some kind of invalid character in your package.json that prevented pnpm (our default package manager) from working correctly.
It should be a transient error though, you shouldn’t get it anymore. If it happens again, let us know