How to properly -force dependencies to install

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

brody
EMPLOYEE

a year ago

nixpacks.toml -

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

Thank you very much, this resolved my issue.


brody
EMPLOYEE

a year ago

No problem!


Status changed to Solved brody over 1 year ago


Loading...