Error while installation #608
-
Hi Devs, I am unable to install using npm install @siteimprove/alfa-act or any other package Gets Error I have added .npmrc file but still gives this error. Do I need any credentials or configuration? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Hi there and thanks for reaching out! It sounds like you haven't yet set up authentication for GitHub Packages, which is currently required to consume both public and private packages: https://docs.github.com/en/free-pro-team@latest/packages/guides/configuring-npm-for-use-with-github-packages#authenticating-to-github-packages |
Beta Was this translation helpful? Give feedback.
-
Did you manage to set up authentication, @assang? |
Beta Was this translation helpful? Give feedback.
-
No it is giving other error. (I have added taken as @Siteimprove:registry=https://npm.pkg.github.com/:_authToken=************************** ) Now Error is: npm ERR! A complete log of this run can be found in: |
Beta Was this translation helpful? Give feedback.
-
Did you add the token by doing |
Beta Was this translation helpful? Give feedback.
-
I tried the same steps again and now getting error. Does it mean I need some permission from npm repo or alfa repo? Not Found - PUT https://npm.pkg.github.com/:_authToken=51ec209133ec45e874d1def3e674f277edae3cbe/-/user/org.couchdb.user:assang |
Beta Was this translation helpful? Give feedback.
-
The issue lies with authentication on your end as there's nothing needed from our end for you to consume public packages from the GitHub npm registry. If you're in need of more help with authentication beyond what the GitHub docs provide, I'd recommend reaching out to the Support Community: https://git.luolix.topmunity/c/github-help/48 |
Beta Was this translation helpful? Give feedback.
Hi there and thanks for reaching out! It sounds like you haven't yet set up authentication for GitHub Packages, which is currently required to consume both public and private packages: https://docs.github.com/en/free-pro-team@latest/packages/guides/configuring-npm-for-use-with-github-packages#authenticating-to-github-packages