Installig Private Package hoested on github private package

Hello support@render.com,

Please i am having issue installing a private package hosted on github, i kept on getting the below error.

wales.admin-api@0.0.1 preinstall /opt/render/project/src
Aug 25 12:02:00 PM > echo //npm.pkg.github.com/:_authToken=$NPM_TOKEN >> .npmrc
Aug 25 12:02:00 PM
Aug 25 12:08:37 PM npm ERR! Error while executing:
Aug 25 12:08:37 PM npm ERR! /usr/bin/git ls-remote -h -t ssh://git@github.com/wales-b/package.schema.git
Aug 25 12:08:37 PM npm ERR!
Aug 25 12:08:37 PM npm ERR! Host key verification failed.
Aug 25 12:08:37 PM npm ERR! fatal: Could not read from remote repository.
Aug 25 12:08:37 PM npm ERR!
Aug 25 12:08:37 PM npm ERR! Please make sure you have the correct access rights
Aug 25 12:08:37 PM npm ERR! and the repository exists.
Aug 25 12:08:37 PM npm ERR!
Aug 25 12:08:37 PM npm ERR! exited with error code: 128
Aug 25 12:08:37 PM
Aug 25 12:08:37 PM npm ERR! A complete log of this run can be found in:
Aug 25 12:08:37 PM npm ERR! /opt/render/.cache/_logs/2023-08-25T11_08_37_167Z-debug.log

Hi there,

Have you considered using Git Submodules for this?

See https://render.com/docs/github#git-submodules for more information.

Regards,

Matt

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.