Run angular-spinner locally (npm i error)
Closed this issue · 10 comments
Hi guys,
We tried to run angular-spinner locally and followed the instructions in the readme file. When we run npm i
we get the following error:
npm ERR! code E404
npm ERR! 404 Not Found: api
npm ERR! 404
npm ERR! 404 'api' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'angular-spinner'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm -v
4.4.1
Thanks for your support,
Thomas
Hi @dtslvr ,
Thanks for reporting..
It's working in my side, see the attached GIF.
How do you install it?
git clone https://github.com/urish/angular-spinner.git
cd angular-spinner
npm i
npm ERR! code E404
npm ERR! 404 Not Found: api
npm ERR! 404
npm ERR! 404 'api' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'angular-spinner'
@dtslvr , At me the same commands is working. Give me the chance to check more
Can you please run npm cache clean
and then your commands above?
Can you please run npm cache clean and then your commands above?
Thanks, I've just checked and it is not helping. Any other ideas?
Any thoughts @urish ?
private repo?
private repo?
see npm/npm-registry-client#80 (comment)
Wow, you're amazing. The private repo seems to have problems with "@types/angular": "1.6.1"
, etc.
I've just added a file .npmrc
to the project folder with the following content to reset the private repo and everything works:
registry = https://registry.npmjs.com/
👍