I'm trying to install a private package recently moved from github to bitbucket.
npm install git@bitbucket.org:owner/repo.git
ends up with
npm http GET https://registry.npmjs.org/git
(note package in the url) with this error:
npm ERR! notarget No compatible version found: git@'bitbucket.org:flyvictor/fortune-secruity.git'
(note a '
just after @
)
I tried to escape @, wrap repo name in quotes, but always get same result.
For github we use urls formatted as git://github.com/owner/repo#v.v.v
and this works fine! But if I use same syntax for bitbucket npm just hangs doing nothing.
Any idea?
p.s. keys, access right and so one are correct. I can contribute to these repos, clone them with git, but not to npm install. Github packages that get installed well are also private.