How to properly -force dependencies to install

8 months ago

I need to use React 19 (which is currently in a release candidate stage, instead of being stable) and a few packages I use require a stable version of React. I know from testing locally that the build runs fine, however I have not been able to find a way to tell nixpacks/the build system to properly -force the exact package.json dependencies to install.

Thank you for your time and insight,

  • Michael Ongaro

View Deploy details

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

Solved

3 Replies

8 months ago

nixpacks.toml -

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

8 months ago

Thank you very much, this resolved my issue.


8 months ago

No problem!


Status changed to Solved brody 8 months ago


How to properly -force dependencies to install - Railway Help Station