10 months ago
Hey, I have a project that is being deployed via github without a docker file. The node_modules were installed using bun. When the project was first deployed it was working but at some point of time it stopped using bun and started using npm instead. This is causing the builds to fail due to a lack of package-lock.json file.
5 Replies
10 months ago
Hello,
npm is used when a package-lock.json file is found or if no other lock file is found, if you would like to use bun, make sure you only have a bun lock file.
Status changed to Awaiting User Response Railway • 10 months ago
10 months ago
I do have a bun.lockb
file. And no package-lock.json
file.
files I have
https://share.cleanshot.com/mHYPNZNB
Status changed to Awaiting Railway Response Railway • 10 months ago
Status changed to Awaiting User Response Railway • 10 months ago
10 months ago
Oh I am so sorry, I missed the package-lock file. Thank you.
Status changed to Awaiting Railway Response Railway • 10 months ago
Status changed to Awaiting User Response Railway • 10 months ago
Status changed to Solved brody • 10 months ago