Bun build fail with no dependencies
steadymade
PROOP

6 months ago

Build fails on:

copy /app/nodemodules failed to calculate checksum of ref o4qhk8hvtjbh7p78tfkcmdbjo::owvstn8hddpiull11xoz1fyy1: "/app/nodemodules": not found

This project has no dependencies so I have no nodemodules. I had to use 'npm i' to create a package-lock.json in nodemodules just to get deployment to work. But my app shows both bun and node as the runtimes… I would rather this only be bun, like it is intended to be. Any idea how to fix this? Does railway assume/force there to be deps?

3 Replies

steadymade
PROOP

6 months ago

@Brody, you're my only hope here. Do you have any ideas?


6 months ago

Unfortunately, there is not much I can do at this time.

I think this bug would be better served as an issue on Railpack's GitHub repo.

https://github.com/railwayapp/railpack/issues


iloveitaly
HOBBY

6 months ago

@steadymade I'm helping with railpack maintenance!

Could you help me understand the project structure more? Do you have a bun lock file in addition to package.json? Could you share more of the build log?


Loading...