Nixpacks dont get a packageManager
lucasgarcia98
HOBBYOP

2 years ago

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.

5 Replies

lucasgarcia98
HOBBYOP

2 years ago

8140907c-d91e-4495-8289-d77c9283a314


lucasgarcia98
HOBBYOP

2 years ago

I solved it addying this variables:
NIXPACKSPKGS=yarn NIXPACKSINSTALL_CMD=yarn install


2 years 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


aliwaqar981
HOBBY

2 years ago

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!!


2 years ago

Still no luck at what exactly?


Loading...