I have a question, when I tried to deploy the web app, the error "Error: The result of "builder.build" must include an output property for "@liudonghua123/now-flask"." appears. I've tried searching for a solution but to no avail. Do you have any solutions for this?
Yes, I too faced this issue a while back and what i'll suggest you is to change the vercel.json to something like this... This will probaly solve the issue and will deploy smoothly... 😁
Do let me know if this works for you, then I'll add this in the blog article as well for future readers
hi. I also encountered the same problem when using "@liudonghua123/now-flask". I've tried using "@vercel/python" I only got this error: "Due to builds existing in your configuration file, the Build and Development Settings defined in your Project
Settings will not apply." ,and when I tried to preview I got this error:
This Serverless Function has crashed.
Your connection is working correctly.
Vercel is working correctly.
500: INTERNAL_SERVER_ERROR
Code: FUNCTION_INVOCATION_FAILED
You can check the logs in vercel, this means that some error is encountered in python script. Also, if you are have app.run() in python script then also the app will not work. You have to remove app.run() as well. Moreover check the logs to find out the error...
then apart from app.run() what should i write, should I comment it and then deploy? because I thought, app.run() initiates the running process of flask app. Do let me know.
I personally use heroku & qovery. One of my django site is on heroku and another one is on qovery.
They both are nice.
I have experienced database loss on qovery.
But heroku is much more reliable.
I have a question, when I tried to deploy the web app, the error "Error: The result of "builder.build" must include an
outputproperty for "@liudonghua123/now-flask"." appears. I've tried searching for a solution but to no avail. Do you have any solutions for this?Yes, I too faced this issue a while back and what i'll suggest you is to change the vercel.json to something like this... This will probaly solve the issue and will deploy smoothly... 😁
Do let me know if this works for you, then I'll add this in the blog article as well for future readers
hi. I also encountered the same problem when using "@liudonghua123/now-flask". I've tried using "@vercel/python" I only got this error: "Due to
buildsexisting in your configuration file, the Build and Development Settings defined in your ProjectSettings will not apply." ,and when I tried to preview I got this error:
This Serverless Function has crashed.
Your connection is working correctly.
Vercel is working correctly.
500: INTERNAL_SERVER_ERROR
Code: FUNCTION_INVOCATION_FAILED
how do I solve this?
You can check the logs in vercel, this means that some error is encountered in python script. Also, if you are have
app.run()in python script then also the app will not work. You have to remove app.run() as well. Moreover check the logs to find out the error...then apart from app.run() what should i write, should I comment it and then deploy? because I thought, app.run() initiates the running process of flask app. Do let me know.
Few others:
railway.app/
okteto.com/
Thanks for sharing! 😀
delete Heroku....
I personally use heroku & qovery. One of my django site is on heroku and another one is on qovery.
They both are nice.
I have experienced database loss on qovery.
But heroku is much more reliable.
Command failed: /tmp/5184df82/bin/pip install -t /tmp/58dc369a -r /tmp/58dc369a/requirements.txt
what to do
hello I get this error when running the vercel command can u help me pls?
entrypoint is main.py
Error: Cannot convert undefined or null to object
Replit ?🙂