How do I add the --legacy-peer-deps flag during npm install?
vacostin
HOBBYOP

2 years ago

^title

2 Replies

vacostin
HOBBYOP

2 years ago

nvm, fixed


2 years ago

for future readers, add this nixpacks.toml file to your project -

[phases.install]
    cmds = ['npm ci --legacy-peer-deps']

Welcome!

Sign in to your Railway account to join the conversation.

Loading...