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