The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
npm show with private npm repository
What I Wanted to Do
For awhile I’m using a private npm repository to publish some of my modules. All is working fine besides one little detail - I cannot make npm show to work.
What Happened Instead
I want to be able to check the latest (or may be all) version(s) of my-module. However using the standard npm show or npm view commands results in performing a search in npmjs.org and therefore doesn’t find any version of my-package.
- Lets assume that I have a private npm repo @ http://my-repo.com:8081/nexus/content/groups/npm/ (yes I’m using Nexus).
- Lets assume I have changed my npm registry:
npm set registry http://my-repo.com:8081/nexus/content/groups/npm/
- Lets assume I have my-module published to my-repo.
$ npm config get registry say?