deployment Carshed
my django app was running on the server perfectly when i made a push to my github repo and redeployed the app i got deployment Crashed
29 Replies
Project ID:
N/A
Seems like you pushed an update that errors, any logs?
the logs are : /bin/bash: line 1: gunicorn: command not found . and i didnt change anything to make an error i just edited the hero section text
?
π€ is gunicorn in your
requirements.txt
yes it is
asgiref==3.7.2
Django==4.2.7
gunicorn==21.2.0
packaging==23.2
sqlparse==0.4.4
typing_extensions==4.8.0
here is my requirements.txt
Mind sharing full build logs using this: https://bookmarklets.up.railway.app/log-downloader/
done
That doesn't seem like the full build logs, did you use the link I provided?
deployment
ohh yea, that's the deployment logs
you need to download the logs from the build-logs
here it is
Okay I have no idea π
fragly it says node
yea
just noticed
@ayham make sure you're using python to build your deployments
how can i make sure?
well actually we want to find out why it says node, do you have a package-lock.json file?
my bad brody π
{
"name": "sariPersonal",
"lockfileVersion": 3,
"requires": true,
"packages": {}
}
here it is
send your package.json too please
package.json is empty only have {}
Solution
okay then delete both, they dont seem to be serving any purpose
okay and redeploy it then?
yep
(push the changes to github)
wait
its still deploying
thank you so much you solved the problemmmm
it was all fragly
thanks for you both you are top G's