It’s reported as a yarn error but it’s probably an Action issue. I have two actions running upon the same commit, both running
but one failed:
Run yarn && yarn pkg && npm publish yarn install v1.22.4 [1/4] Resolving packages... [2/4] Fetching packages... error An unexpected error occurred: "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz: Invalid character in header content [\"authorization\"]". info If you think this is a bug, please open a bug report with the information provided in "/home/runner/work/dev-switcher/dev-switcher/yarn-error.log".
I copied the script from another working project so it’s unlikely the script has a problem. The resource https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz is also available from my side.
Need help please…