nixpacks NPM_TOKEN for private npm package #3476
Replies: 3 comments 6 replies
-
|
Have you found a solution for this? I have the issue that when I request private repositories they always timeout? EDIT: See my solution below. |
Beta Was this translation helpful? Give feedback.
-
|
I found a solution! Example buildplan.toml (the bulk of mine I got by running 'nixpacks plan', but I made a few additions): |
Beta Was this translation helpful? Give feedback.
-
|
In order to access your private or restricted npm packages simply create a IMPORTANT Hope this helps someone 😃 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey y'all,
It seems that I can't install private npm packages on nixpack, even though I have set NPM_TOKEN as an env variable.
Does anyone here have a workaround for that?
Glad for help!
Beta Was this translation helpful? Give feedback.
All reactions