sticky cache enabled
hey! i have just deployed my latest commit but railway throws the pnpm lock file outdated error. i have tried re-installing my
node_modules
and it works perfectly fine and the stdout shows that the lock file is up to date.
i have ci/cd setup on my development branch which deploys the code to the development
branch. there wasn't any error while deploying to that branch.
in the build logs of the main
(aka the production) branch, it shows "sticky cache is enabled". i have never seen such a log, is there any way to fix it?16 Replies
Project ID:
d5eccacc-fc95-4f68-90bc-f8f04565d014
No search results found.
⚠️ experimental feature
project id: d5eccacc-fc95-4f68-90bc-f8f04565d014
What happens when you run npm ci locally
there isn't any error
the error only occurs on the
production
branch but on the development
branchI'm confused. can you show me the output of
npm ci
gimme a second
i have a github action which deploys the pr to the
development
branch on railway. if i check the status of that deployment rn, it shows no errors.
when i've merged the pr, the github action will deploy it to main
branch. the deployment to main
branch threw the lock file outdated error.it is pretty weird issue. i'e re-deploying it multiple times no luck
Idk can't help much without seeing logs
https://gist.github.com/0xMukesh/5e1ca27328bf07fe08dafbe0e849e20c
here are the logs
here is the docker file btw
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ah well that is obv. but i don't understand why it "only" occurs on the production branch and not on development branch?
the code is the same on both the branches
why are you installing pnpm with yarn lol
yeah idk why its erroring im asuming the lock file is outdated but you say its not
lmao it is not by default in github actions
you can use
corepack enable pnpm
instead