-
Notifications
You must be signed in to change notification settings - Fork 804
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationquestionFurther information is requestedFurther information is requestedsdk/nodejs
Description
Hello,
I’m trying to install @github/copilot-sdk from GitHub Packages but consistently hit authentication/authorization errors, even though repository access and npm auth appear to be configured correctly.
What works
- I can access https://github.com/github/copilot-sdk in the browser
- I have an active GitHub Copilot subscription
- npm is correctly picking up my ~/.npmrc configuration
- Token is detected by npm (
npm config listshows authToken as protected)
What fails
Installing the package:
npm install @github/copilot-sdk
Results in:
401 Unauthorized / 403 Forbidden
unauthenticated: User cannot be authenticated with the token provided
→ 403 Forbidden
Also:
npm whoami --registry=https://npm.pkg.github.com
Environment
- OS: macOS
- Node.js: v25.6.0
- npm: 11.8.0
- Registry: https://npm.pkg.github.com
- Auth: Personal Access Token (classic) with
read:packages+repo - Token authorized for SSO (if applicable)
Question
Is access to the npm package gated separately from repository access for the Copilot SDK technical preview?
If so, is there an additional enablement or allowlisting step required to install the package via GitHub Packages?
Happy to provide more details if needed. Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationquestionFurther information is requestedFurther information is requestedsdk/nodejs