berry icon indicating copy to clipboard operation
berry copied to clipboard

Berry - .yarnrc.yml - yarnPath + npmScopes

Open petr-zatloukal opened this issue 3 years ago • 1 comments

Hi, I have a problem with using fontawesome private repository

if I use this configuration repository is not found

yarnPath: ".yarn/releases/yarn-berry.cjs"
nodeLinker: node-modules
enableGlobalCache: true

npmScopes:
  fortawesome:
    npmRegistryServer: "https://npm.fontawesome.com/"
    npmAlwaysAuth: true
    npmAuthToken: ${FONT_AWESOME_AUTH_TOKEN}

But without yarnPath everything works fine

nodeLinker: node-modules
enableGlobalCache: true

npmScopes:
  fortawesome:
    npmRegistryServer: "https://npm.fontawesome.com/"
    npmAlwaysAuth: true
    npmAuthToken: ${FONT_AWESOME_AUTH_TOKEN}

Do you have any idea how to run it together?

petr-zatloukal avatar Feb 08 '22 17:02 petr-zatloukal

is it a typo, as fortawesome?

sgammon avatar Aug 03 '22 07:08 sgammon

Removing yarnPath makes Yarn use your global version which could be Yarn v1 using a different config file.

Closing as unactionable since there isn't enough information to reproduce the issue.

merceyz avatar Jun 03 '23 22:06 merceyz