cli: Build is already done 422
Describe the bug After successfully running netlify build, we attempt to run netlify deploy. It returns “Build is already done 422”
A clear and concise description of what the bug is. Deploy error.
To Reproduce
Steps to reproduce the behavior:
Create a new nuxtjs project or clone our test project
- Run
git clone https://github.com/soongsta/zzz - Navigate to the cloned repository
- install packages with
npm install - Run
netlify build - Create a new site on netlify using project
- link by running `netlify link’
- Run
netlify deploy -p(even without -p, the error occurs)
Error displays
Deploy path: C:\dev\delme\00testapp\dist Deploying to main site URL… √ Finished hashing 11 files | CDN diffing files… » Warning: JSONHTTPError: Build is already done 422 » Warning: » { » “name”: “JSONHTTPError”, » “status”: 422, » “json”: { » “code”: 422, » “message”: “Build is already done” » } » } » / CDN diffing files…JSONHTTPError: Unprocessable Entity at parseResponse (C:/Users/team/AppData/Roaming/npm/node_modules/netlify-cli/node_modules/netlify/src/methods/response.js:12:11) at async callMethod (C:/Users/team/AppData/Roaming/npm/node_modules/netlify-cli/node_modules/netlify/src/methods/index.js:36:26) at async module.exports (C:/Users/team/AppData/Roaming/npm/node_modules/netlify-cli/node_modules/netlify/src/deploy/index.js:92:14) at async NetlifyAPI.deploy (C:/Users/team/AppData/Roaming/npm/node_modules/netlify-cli/node_modules/netlify/src/index.js:93:12) at async runDeploy (C:/Users/team/AppData/Roaming/npm/node_modules/netlify-cli/src/commands/deploy.js:222:15) at async DeployCommand.run (C:/Users/team/AppData/Roaming/npm/node_modules/netlify-cli/src/commands/deploy.js:422:21) at async DeployCommand._run (C:/Users/team/AppData/Roaming/npm/node_modules/netlify-cli/node_modules/@oclif/command/lib/command.js:43:20) at async Config.runCommand (C:/Users/team/AppData/Roaming/npm/node_modules/netlify-cli/node_modules/@oclif/config/lib/config.js:172:9) at async Main.run (C:/Users/team/AppData/Roaming/npm/node_modules/netlify-cli/node_modules/@oclif/command/lib/main.js:22:9)
Configuration:
System:
OS: Windows 10 10.0.19041
CPU: (8) x64 Intel® Core™ i7-4790 CPU @ 3.60GHz
Memory: 16.09 GB / 31.84 GB
Binaries:
Node: 12.17.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.4 - C:\Program Files\nodejs\npm.CMD
Expected behavior
A clear and concise description of what you expected to happen.
Project deploys.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 20 (5 by maintainers)
Similar
422error but with messageDeploy assets are missing. To deploy successfully, ensure files are present.The static assets exist in
/Users/dw/Vendia/site/outfor some reason the deploy is failing though.API troubles upstream?
Is this being treated as an incident? This seems like hard fail on deploys: https://www.netlifystatus.com/ Confirming we are on 2.68.0 and having the same problem. 😕