diff options
| author | gscho <greg.c.schofield@gmail.com> | 2026-05-07 13:02:47 -0400 |
|---|---|---|
| committer | gscho <greg.c.schofield@gmail.com> | 2026-05-07 13:02:47 -0400 |
| commit | 2ee4d3aec33e7995291abfa78e27573320f36804 (patch) | |
| tree | cb32d7c9af6c6d04fd06a480f3d00b17254a476d /skills/vercel-python/references/troubleshooting.md | |
| parent | 0850658487094f5fb9aeba2fdcd87071f42c5c74 (diff) | |
Address PR comments and edit with skill-creator.gscho/PY-222-vercel-python-skill
Signed-off-by: gscho <greg.c.schofield@gmail.com>
Diffstat (limited to 'skills/vercel-python/references/troubleshooting.md')
| -rw-r--r-- | skills/vercel-python/references/troubleshooting.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/skills/vercel-python/references/troubleshooting.md b/skills/vercel-python/references/troubleshooting.md index 44d2d00..1c843ad 100644 --- a/skills/vercel-python/references/troubleshooting.md +++ b/skills/vercel-python/references/troubleshooting.md @@ -17,8 +17,12 @@ Use this reference when Vercel build output, runtime logs, or the inspector repo `DJANGO_ENTRYPOINT_NOT_FOUND` -- Move or expose `manage.py` at the project root or one directory below. -- Ensure the project includes importable Django settings. +- Confirm `manage.py` is at the project root or one directory below. +- Verify the settings module defines `ASGI_APPLICATION` or `WSGI_APPLICATION`: + ```bash + uv run manage.py diffsettings | grep -E 'WSGI_APPLICATION|ASGI_APPLICATION' + ``` +- Ensure required environment variables are set in the Vercel project so the settings module can import. `PYTHON_HANDLER_NOT_FOUND` @@ -37,7 +41,7 @@ Use this reference when Vercel build output, runtime logs, or the inspector repo - Check `[tool.vercel]` keys and Vercel function config. - Prefer simple `[tool.vercel].entrypoint` for entrypoint overrides. -`VERCEL_JSON_PARSE_ERROR` +`INVALID_VERCEL_JSON` - Fix invalid JSON in `vercel.json`. - Remove comments; JSON does not allow them. |
