Skip to content

Commit

Permalink
docs: add authentication guide
Browse files Browse the repository at this point in the history
  • Loading branch information
iceghost committed Oct 28, 2023
1 parent c6920b4 commit 631e970
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Contributing Guides

## Unauthorized error when downloading `@bkalendar/core`

To solve this issue, you need to be _authenticated_ to even read and download
packages from the GitHub NPM Registry.

1. Head over to https://github.com/settings/tokens, create a token with
only permission `read:packages`.
2. Run this command:

```console
$ npm login --registry=https://npm.pkg.github.com
```

3. Login with:

- Username: Your GitHub username
- Password: The token you created above

`pnpm install` should now work fine.

0 comments on commit 631e970

Please sign in to comment.