Setting --no-frozen-lockfile using nixpacks.
devcadotio
PROOP

10 months ago

Basically, what I'm trying to achieve is to add the --no-frozen-lockfile flag to pnpm i.

[phases.setup]
nixPkgs = ['nodejs', 'pnpm']

[phases.install]
cmd = 'pnpm install --no-frozen-lockfile'

[phases.build]
cmd = 'pnpm run build'
dependsOn = ['install']

[start]
cmd = 'pnpm start' 

Issue is - railway still tries to run pnpm i --frozen-lockfile.

Solved$10 Bounty

7 Replies

devcadotio
PROOP

10 months ago

031f2028-a6cf-4afd-ba70-7052ba0ce787


devcadotio
PROOP

10 months ago

0


10 months ago

Hey, can you try cmds = ['pnpm install --no-frozen-lockfile' ]?


devcadotio
PROOP

10 months ago

thanks


devcadotio
PROOP

10 months ago

that worked


10 months ago

Great! I'll mark this thread as solved.


10 months ago

!s


Status changed to Solved uxuz 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...