npm show with private npm repository

triaged
cli

(z) #1

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.

Reproduction Steps

npm set registry http://my-repo.com:8081/nexus/content/groups/npm/
  • Lets assume I have my-module published to my-repo.

(Kat Marchán) #2

What does $ npm config get registry say?