Unable to NPM install, "no such package available"
See original GitHub issueBug description:
I’m trying to install the ng-bootstrap NPM package using the following command line command:
npm install --save @ng-bootstrap/ng-bootstrap
but getting the following error output:
npm ERR! argv "/Users/.../.nvm/versions/node/v6.10.0/bin/node" "/Users/.../.nvm/versions/node/v6.10.0/bin/npm" "install" "@ng-bootstrap/ng-bootstrap@1.0.0-alpha.26"
npm ERR! node v6.10.0
npm ERR! npm v4.3.0
npm ERR! code E404
npm ERR! 404 no such package available : @ng-bootstrap/ng-bootstrap
npm ERR! 404
npm ERR! 404 '@ng-bootstrap/ng-bootstrap' 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
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/.../.npm/_logs/2017-06-20T14_41_59_075Z-debug.log
Version of Angular, ng-bootstrap, and Bootstrap:
Angular: 4.0.0
ng-bootstrap: Alpha 26
Bootstrap: 4 Alpha 6
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
npm install resulting in 'ENOENT: no such file or directory'
I was facing the same issue. I firstly delete my node_modules and delete the cache by following command: rm -rf node_modules && npm...
Read more >How to fix: npm ERR! enoent ENOENT: no such file or ...
I recently struggled for a while with an npm error thrown when executing npm install of some package. The error message was npm...
Read more >5 Ways to Fix the Npm Install Not Working Issue
Way 1. Make Sure Npm Is Installed ... The main cause of the npm command not found error is that npm is not...
Read more >Common errors | npm Docs
You are trying to install on a drive that either has no space, or has no permission to write. Free some disk space...
Read more >Unable to use NPM install for Node.js application in Plesk
/usr/bin/env: 'node': No such file or directory ... of the application packages no longer fails with the “node: not found” error." Fixed in:....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, so upon further investigation, this was exactly the case @pkozlowski-opensource . When I started working here, someone had me edit the .npmrc file and added some configuration to private repos as such:
@ourstuff:registry=http://npm.ourcompany.net
After adding
@ng-bootstrap:registry=https://registry.npmjs.org
ng-bootstrap was able to install perfectly. I don’t like the above solution, it feels wrong, so will Google around on the right way to achieve this.
Thanks for the assistance!
Did you noticed about other solution? i think is a ugly mode to solve scoped packages