R
Railway5mo ago
Garcia

Nixpacks dont get a packageManager

Hi, my project is failed in deploy, because it don't get a my definition in packageManager, to use yarn instead npm for dependecy install. I need a help.
Solution:
the more correct solution would be to have a yarn lock file and only a yarn lock file in your repo so that the correct dependencies and command is ran automatically
Jump to solution
4 Replies
Percy
Percy5mo ago
Project ID: 8140907c-d91e-4495-8289-d77c9283a314
Garcia
GarciaOP5mo ago
8140907c-d91e-4495-8289-d77c9283a314 I solved it addying this variables: NIXPACKS_PKGS=yarn NIXPACKS_INSTALL_CMD=yarn install
Solution
Brody
Brody5mo ago
the more correct solution would be to have a yarn lock file and only a yarn lock file in your repo so that the correct dependencies and command is ran automatically
Duchess
Duchess5mo ago
New reply sent from Help Station thread:
Hi, I have deleted package-lock.json and add yarn.lock by running yarn but still no luck. can this be relevant to caching? Any help would be appreciated!!
You're seeing this because this thread has been automatically linked to the Help Station thread. New reply sent from Help Station thread:
Still no luck at what exactly?
You're seeing this because this thread has been automatically linked to the Help Station thread.
Want results from more Discord servers?
Add your server