R
Railway•10mo ago
piskot666

/bin/bash: line 1: gunicorn: command not found Flask app, I tried everything I found online.

My app worked fine until I added some content. I went through everything and couldn't find anything that could have broken the site. I tried many configurations but the error stays the same. Gunicorn has always been in requirements.txt, I have the Procfile and nothing works. I need the site online as soon as possible and it's driving me crazy. This is my repo and you can see all the changes and things I tried to make it work: https://github.com/NezaVizintin/Neza_cv_personal_website The site stopped working after the "updated portfolio" github commit.
GitHub
GitHub - NezaVizintin/Neza_cv_personal_website: My personal CV page
My personal CV page . Contribute to NezaVizintin/Neza_cv_personal_website development by creating an account on GitHub.
Solution:
The site stopped working after the "updated portfolio" github commit.
that commit added a package.json file, causing railway to think this is a node app instead of a python app, remove the package.json file...
Jump to solution
6 Replies
Percy
Percy•10mo ago
Project ID: af5b0d88-054c-4778-8b57-264a3ac9df7b
piskot666
piskot666•10mo ago
Project ID: af5b0d88-054c-4778-8b57-264a3ac9df7b
Solution
Brody
Brody•10mo ago
The site stopped working after the "updated portfolio" github commit.
that commit added a package.json file, causing railway to think this is a node app instead of a python app, remove the package.json file
piskot666
piskot666•10mo ago
I will find send the logs asap but the build seemed to be successful. I will try removing package.json Oh my god this worked! Thank you so much, I would buy you a beer if I could. I spend hours on this.
Brody
Brody•10mo ago
no worries, thank you for the thought 🙂
Want results from more Discord servers?
Add your server