Skip to content
Discussion options

You must be logged in to vote

Of course right after I posted this I think I came to the realization that we need a .npmrc that tells npm to use the codespaces GITHUB_TOKEN ENV variable as the registry auth token. This could definitely be more clear in the docs.

//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by otter-computer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GitHub or a GitHub feature is not working as intended Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform,
1 participant