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:Jump to 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
4 Replies
Project ID:
8140907c-d91e-4495-8289-d77c9283a314
8140907c-d91e-4495-8289-d77c9283a314
I solved it addying this variables:
NIXPACKS_PKGS=yarn
NIXPACKS_INSTALL_CMD=yarn install
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
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.