Until yesterday, I was able to download @angular/common/http package. However starting from today, every time I issue
npm i
command, I get the following error:
npm ERR! code EINVALIDPACKAGENAME npm ERR! Invalid package name "@angular/common/http": name can only contain URL- friendly characters
People have suggested to upgrade/downgrade npm which I have tried but no luck so far.
package.json
"dependencies": {
"@angular/common": "^5.0.0",
"@angular/compiler": "^5.0.0",
"@angular/core": "^5.0.0",
"@angular/forms": "^5.0.0",
"@angular/common/http": "^5.0.0",
Any ideas guys? let me know if you need more info.
Thanks