2

Any time I use nom command I get this warning in the beginning:

npm WARN config `_auth`, `_authToken`, `username` and `_password` must be scoped to a registry. see `npm help npmrc` for more information.
npm WARN config `_auth`, `_authToken`, `username` and `_password` must be scoped to a registry. see `npm help npmrc` for more information.

I've checked my .npmrc file, but the file that opens with the npm config edit looks fine for me, as there should not be such a problem.

That's my .npmrc with stripped comments and replaced sensitive data (all the structure is correct):

@my_scope:registry=https://registryurl/npm/
//registryurl/npm/:_password="[secret]"
//registryurl/npm/:username=my.email@domain.com
//https://registryurl/npm/:_password=YOUR_BASE64_PASSWORD
//https://registryurl/npm/:always-auth=true
//https://registryurl/npm/:email=first.second@domain.com
//https://registryurl/npm/:username=first.second@domain.com
always-auth=true
email=my.email@anotherdomain.com
registry=//registryurl/npm/

What could possibly be wrong?

Anton
  • 95
  • 11

0 Answers0