"npm" can't resolve from npm.fontawesome.com

1.4k views Asked by At

My Angular project use module from https://npm.fontawesome.com

I call command:

npm --loglevel info install grun

local and it is fine finished, but if call this command in build-server I have an error.

.npmrc file:

@fortawesome:registry=https://npm.fontawesome.com/
//npm.fontawesome.com/:_authToken=<some>

I have an error in build-server:

error   30-Jun-2020 19:54:21    npm ERR! code E401
error   30-Jun-2020 19:54:21    npm ERR! Unable to authenticate, need: Basic realm="https://npm.fontawesome.com/"

What can I do? Where is my wrong?

1

There are 1 answers

0
Ivan  Bukharin On

Make sure the license allows you to work. In my case, there was a limit on the number of developers.