I'm trying to start a new project in Angular and when I do the command ng new projectName in my console, I get the follow error:
npm WARN deprecated [email protected]: 1.2.0 should have been a major
version bump
npm ERR! code E404
npm ERR! 404 Not Found: istanbul@^0.4.5
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\jmarques\AppData\Roaming\npm-cache\_logs\2018-08-
08T18_17_43_246Z-debug.log
Package install failed, see above.
And when I try to do the command npm install, it returns the same error e don't install node_modules.
Version: - Node 10.8.0 - npm 6.0.1 - ng 6.1.2
try removing and deleting your node_modules, then clean cache
npm cache verify --force
then reinstall using npm install.