a month ago
Bun (NexstJS) app won't build with Railpack
Logs:
mkdir -p /app/node_modules/.cache
109ms
mkdir: cannot create directory '/app/node_modules': File exists
ERROR: failed to build: failed to solve: process "mkdir -p /app/node_modules/.cache" did not complete successfully: exit code: 1
I think that was added without a validation.
1 Replies
a month ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • 28 days ago
a month ago
I'm one of the developers behind Railpack! Sorry you are running into some trouble.
1. tree or ls output of your main project dir. Goal is understanding what the file structure of the project is.
2. If there's no sensitive information in your build log from Railway, that would be really helpful to take a look at.
We have a sample next project that we test against, so there must be something unique happening on your end that we need to improve RailPack to support.