Hello Folks,
I try to add Fontawesome Pro into the web
workspace
I defined FONT_AWESOME_NPM_TOKEN
in my zsh
and it can be echo
and already configure the private registry token for npm
& yarn
within 3 places of .npmrc
- Home Directory (~/.npmrc) for global
- Root of RedwoodJS
-
web/.npmrc
for per-project setup also
This is all .npmrc content
@fortawesome:registry=https://npm.fontawesome.com/
//npm.fontawesome.com/:_authToken=${FONT_AWESOME_NPM_TOKEN}
And this is Terminal log
❯ yarn workspace web add @fortawesome/fontawesome-pro
➤ YN0027: @fortawesome/fontawesome-pro@unknown can't be resolved to a satisfying range
➤ YN0035: The remote server failed to provide the requested resource
➤ YN0035: Response Code: 404 (Not Found)
➤ YN0035: Request Method: GET
➤ YN0035: Request URL: https://registry.yarnpkg.com/@fortawesome%2ffontawesome-pro
➤ Errors happened when preparing the environment required to run this command.
This is my deps versions
❯ yarn rw --version
1.1.1
❯ yarn -v
3.2.0
❯ node -v
v16.14.2
❯ npm -v
8.5.0
❯ npx -v
8.5.0
Thank you
Mike