I have configured my host globally as described in font awesome documentation
I am running the following:
npm config set "@fortawesome:registry" https://npm.fontawesome.com/
npm config set "//npm.fontawesome.com/:_authToken" "${NPM_FONT_AWESOME_AUTH_TOKEN}"
I have the following error:
npm ERR! code E401
npm ERR! Unable to authenticate, need: Basic realm="https://npm.fontawesome.com/"
I expect to authenticate.
If you access from a browser https://npm.fontawesome.com/ , you have a Basic auth, I am not sure what I should expect here as I have never tried before.
This happened recently, the configuration was working for year. Is it me or fontawesome server?
How to fix fontawesome npm authentication?
FontAwesome does not keep your access active despite you have a license for one or more versions. The one way to get permanent access to your font awesome package is to host it on your own private registry or on a paid npm account.
Be aware that the provided files in direct download are not exactly the same as the npm package.
I advise fontawesome user to keep a copy of the distributed package to avoid checksum issue with lock files.