"@fortawesome:registry" "https://npm.fontawesome.com/"
"//npm.fontawesome.com/:_authToken" "XXXXXXX-my-token"
I am try to configure .yarnrc for my project, but I am not sure about the format of the file. I the above format looks fine or I am missing something. Any help will be appreciated.
When I tried to install package using the above format I am getting below error.
答案 0 :(得分:0)
"@fortawesome:registry" "https://npm.fontawesome.com/XXXXX-my-token"
It works like charm.
答案 1 :(得分:0)
基于this issue,无法使用.yarnrc
。您必须改用.npmrc
。
只需follow the instructions就可以了,然后将他们告诉您的内容复制到您的.npmrc
中,就可以了。