Hello people, I need help with a bug that has paralyzed me in teamwork for a week and a half
Guys, I need help with a bug that has paralyzed me in teamwork for a week and a half, it has me fed up.
I've had this error since I tried Angular JS and my permissions went crazy or who knows what, it won't let me do npm install
10 Replies
what cmd is this
is this vscode cmd
exactly
So what's in the error log?
I'm no windows expert, but first I'd try to
npm cache clean --force
, re-start VS Code, and try again.
If it doesn't, try googling "vscode eperm windows npm"They've already run
npm cache clean --force
from the 2nd screenshot.
It's probably as simple as delete node_modules
, re-run npm i
.
But the invalid version error is strange.
restarting vscode won't do anything, they're just using it as a terminal.
git bash from the looks of it. Which may be why there's permission issues with files on the desktop.Deleting node_modules sounds like a good idea
Also could try re-cloning the repository. Which as long as you're not commiting node_modules, would achieve the same thing.
But anyone who's been "paralyzed for a week and a half", I don't count on having anything set up sanely.
@Lautaro1998DS run vsc in admin
That will likely work, but I wouldn't recommend it. That's essentially running random node_modules scripts as root