mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 04:22:01 +00:00
[cli] Add in a message for deployment-error message (#8865)
We have a link to an error page here: https://github.com/vercel/vercel/blob/main/packages/cli/src/commands/deploy/index.ts#L873, however that page is currently a 404. This is an attempt to explain the error a bit more. Because there are many possible causes of a deployment error, this mostly focuses on explaining how to get to the logs. ### Related Issues Fixes https://github.com/vercel/vercel/issues/1732. ### 📋 Checklist <!-- Please keep your PR as a Draft until the checklist is complete --> #### Tests - [ ] The code changed/added as part of this PR has been covered with tests - [ ] All tests pass locally with `yarn test-unit` #### Code Review - [ ] This PR has a concise title and thorough description useful to a reviewer - [ ] Issue from task tracker has a link to this PR Co-authored-by: Nathan Rajlich <n@n8.io> Co-authored-by: Chris Barber <chris.barber@vercel.com>
This commit is contained in:
13
errors/deployment-error.md
Normal file
13
errors/deployment-error.md
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# Deployment failed
|
||||||
|
|
||||||
|
## Why This Error Occurred
|
||||||
|
|
||||||
|
When deploying this project, there was not a successful deployment into the `READY` state.
|
||||||
|
|
||||||
|
## How to Fix It
|
||||||
|
|
||||||
|
This is a generic error to catch problems in the deployment. The error is likely to vary depending on the deployment and the conditions at the time.
|
||||||
|
|
||||||
|
Try looking in the logs for information about the deployment and the failure, this could be done at (vercel.com)[https://vercel.com]. You can also use the `vc logs` command to display the build logs for the deployment.
|
||||||
|
|
||||||
|
This might not be a permanent error and retrying the deployment might also resolve it.
|
||||||
Reference in New Issue
Block a user