But i get this error for every single installation, I tried with --cache to temporarily set another cache directory but still, It happens everytime with me
--cache
Normally, npm cache clean --force solves the problem for most people.
npm cache clean --force
If you scenario permits, you can consider a full uninstall of npm + delete the C:\Users{{your-username}}\AppData\Roaming\npm-cache folder.
C:\Users{{your-username}}\AppData\Roaming\npm-cache
Then re-install npm.
Finally, if nothing works for you, give yarnpkg.com/ a try. You'll find yarn faster than npm :-)
Yeah, I already switched to yarn Thanks 😇
Nice!!! Always have a plan B :-)
How can I really switch to Yarn and avoid PACKAGE.JSON MIXING?
Ahhh Sorry. Thnks it worked.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
But i get this error for every single installation,
I tried with
--cache
to temporarily set another cache directory but still,It happens everytime with me
Normally,
npm cache clean --force
solves the problem for most people.
If you scenario permits, you can consider a full uninstall of npm + delete the
C:\Users{{your-username}}\AppData\Roaming\npm-cache
folder.Then re-install npm.
Finally, if nothing works for you, give yarnpkg.com/ a try.
You'll find yarn faster than npm :-)
Yeah,
I already switched to yarn
Thanks 😇
Nice!!!
Always have a plan B :-)
How can I really switch to Yarn and avoid PACKAGE.JSON MIXING?
Ahhh Sorry. Thnks it worked.