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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.