How to deploy slash migrate procfiles to nixpacks.
Hello, I would like to know how to convert my procfile with just a single line: web: node backend/server.js to a nixpack since I already know that procfiles are going to be removed in the future.
14 Replies
Didn't see this! So ideally, not a thing. Nixpacks reads procfiles.
@Angelo I got a notification that they are going to discontinue it
so I need to migrate it to nixpacks
Yep, whats the error do you get if any?
@Angelo I just don't know how to migrate it to use it.
I have this error: {"message":"ENOENT: no such file or directory, stat '/app/frontend/build/index.html'","stack":null}
Project ID?
@talmax please share your project id
I think this is the ID
018934d8-0338-4167-a108-ceb1ef8e812d
@Angelo
or how do I find it?
This is correct!
Flagging this thread. A team member will be with you shortly.
Going to get to this after my queue
Ok
It is a React App, so I guess the problem is probably I don't know how to configure it correctl
Just so you have some references. Here is my Procfile looks like: web: node backend/server.js and file structure
I don't know if it's helpful
--------------
Ok, so I might have figured out a solution, and I think it has to do with the "heroku-postbuild" command. Since I am using heroku, it recognizes the heroku-postbuild package and built the site, but since railway doesn't have this, that is the error.
therefore not working
I also have a $PORT error but I have it in the ENV
Stack Overflow
Heroku no such file or directory, stat '/app/client/build/index.html'
I have been struggling with this error for literally almost three weeks now, and it's honestly driving me crazy. I have been using Heroku to deploy my projects for over a year now, and I have never