Can npm install pull from a private repo during the build process?

I’m looking into adding private repositories that will be pulled in a node.js app. During the build process of that said node.js app, would it be possible to pull from private repositories?

Hi @tansan,

We don’t support this natively, however others have been able to achieve this by setting the github token as an env var and referencing it in the build command. We have an open feature request around this here: https://feedback.render.com/features/p/allow-private-git-repos-for-npm

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