I can’t figure out how to install from a private npm registry - I’m able to publish to one but whenever I try install I get an error: Not Found - GET https://registry.npmjs.org/@tmnz/test-templates - Not found
I can’t figure out why the install insists on trying the npmjs endpoint instead of gitlab.
My install command is: npm i @tmnz/test-templates and the .npmrc is:
@tmnz:registry=https://gitlab.com/api/v4/packages/npm/
//gitlab.com/api/v4/packages/npm/:_authToken=
//gitlab.com/api/v4/projects/27902131/packages/npm/:_authToken=
//gitlab.com/api/v4/projects/29470659/packages/npm/:_authToken=
I’ve tried specifying the registry on the command line, changing the npmrc file under my user name. I think I might be just getting an auth error but then I don’t know how to authenticate when installing a package - i thought what’s in the .npmrc file was enough.