How to --force install packages

danmesfinTRIAL

7 months ago

I am deploying next.js latest (14.2.-) app. there is dependencies conflict, and I need to use --force install. How do I change the install command?

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Solved

1 Replies

7 months ago

Add a nixpacks.toml file -

[phases.install]
    cmds = ["npm ci --force"]

Status changed to Solved brody 7 months ago


How to --force install packages - Railway Help Station