Vercel: Error: No Output Directory named "dist" found after the Build completed
Unanswered
Chausie posted this in #help-forum
ChausieOP
I have been trying to deploy our teams web app, however encounter this error. the vercel.json is like follows:
{
"builds": [
{
"src": "vercel-build.sh",
"use": "@vercel/static-build",
"config": {
"distDir": "dist"
}
},
{
"src": "cashflow/wsgi.py",
"use": "@vercel/python",
"config": {
"maxLambdaSize": "15mb",
"runtime": "python3.12"
}
}
],
"routes": [
{
"src": "/(.*)",
"dest": "cashflow/wsgi.py"
}
],
"regions": ["sin1"],
"crons": [
{
"path": "/api/fetch-stock-data",
"schedule": "0 0 * * *"
}
],
"outputDirectory": "dist"
}
couldn't find out why, need help with this!!! Thank you so much!
{
"builds": [
{
"src": "vercel-build.sh",
"use": "@vercel/static-build",
"config": {
"distDir": "dist"
}
},
{
"src": "cashflow/wsgi.py",
"use": "@vercel/python",
"config": {
"maxLambdaSize": "15mb",
"runtime": "python3.12"
}
}
],
"routes": [
{
"src": "/(.*)",
"dest": "cashflow/wsgi.py"
}
],
"regions": ["sin1"],
"crons": [
{
"path": "/api/fetch-stock-data",
"schedule": "0 0 * * *"
}
],
"outputDirectory": "dist"
}
couldn't find out why, need help with this!!! Thank you so much!