Every time I try installing any package or even if I try doing npm install I keep getting this error. I have no idea why I am getting the error. I am totally ne
npm install
For me, deleting package.lock was not enough. My IDE always said this error:
package.lock
Unexpected token <
So what I did:
npm cache verify
I write in the plain command-line interpreter , NOT in IDE :
npm install @angular/http