Install package from private repository

I'm developing an API with wrangler and a website with next-on-pages. I'm using a package hosted on GitHub in a private repository. Both projects failed to build because Cloudflare couldn't install that dependency. Cloudflare GitHub integration has access to all repositories in our organization; shouldn't it be able to install the package? Worker / API
16:40:15.809 npm error code 128
16:40:15.810 npm error An unknown git error occurred
16:40:15.810 npm error command git --no-replace-objects ls-remote ssh://[email protected]/organization/package.git
16:40:15.810 npm error Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
16:40:15.810 npm error [email protected]: Permission denied (publickey).
16:40:15.811 npm error fatal: Could not read from remote repository.
16:40:15.812 npm error
16:40:15.812 npm error Please make sure you have the correct access rights
16:40:15.812 npm error and the repository exists.
16:40:15.809 npm error code 128
16:40:15.810 npm error An unknown git error occurred
16:40:15.810 npm error command git --no-replace-objects ls-remote ssh://[email protected]/organization/package.git
16:40:15.810 npm error Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
16:40:15.810 npm error [email protected]: Permission denied (publickey).
16:40:15.811 npm error fatal: Could not read from remote repository.
16:40:15.812 npm error
16:40:15.812 npm error Please make sure you have the correct access rights
16:40:15.812 npm error and the repository exists.
Pages / Website
16:42:09.096 ▲ Failed to compile.
16:42:09.096 ▲ ./src/app/team/[teamId]/page.tsx:41:1
16:42:09.097 ▲ Module not found: Can't resolve 'package'
16:42:09.096 ▲ Failed to compile.
16:42:09.096 ▲ ./src/app/team/[teamId]/page.tsx:41:1
16:42:09.097 ▲ Module not found: Can't resolve 'package'
Any assistance here is much appreciated. Thanks.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server