My site builds fine with netlify dev. There are no errors I can see in the build. It pushes to GitHub, which has no issues under actions. So why does it report as deployment failed?
Hi @synedra Welcome to the Netlify community
What is in the deploy log? Can you post the contents?
1:29:18 PM: Build ready to start
1:29:20 PM: build-image version: 0582042f4fc261adc7bd8333f34884959c577302
1:29:20 PM: build-image tag: v3.7.6
1:29:20 PM: buildbot version: cb3d235979bae64f617d34524cb2e8a9de68153f
1:29:20 PM: Fetching cached dependencies
1:29:20 PM: Failed to fetch cache, continuing with build
1:29:20 PM: Starting to prepare the repo for build
1:29:21 PM: No cached dependencies found. Cloning fresh repo
1:29:21 PM: git clone synedra/netlify-astra-example Β· GitHub
1:29:22 PM: Preparing Git Reference refs/heads/master
1:29:22 PM: Parsing package.json dependencies
1:29:24 PM: Starting build script
1:29:24 PM: Installing dependencies
1:29:24 PM: Python version set to 2.7
1:29:25 PM: v12.18.0 is already installed.
1:29:26 PM: Now using node v12.18.0 (npm v6.14.4)
1:29:26 PM: Started restoring cached build plugins
1:29:26 PM: Finished restoring cached build plugins
1:29:26 PM: Attempting ruby version 2.7.1, read from environment
1:29:28 PM: Using ruby version 2.7.1
1:29:28 PM: Using PHP version 5.6
1:29:28 PM: Started restoring cached node modules
1:29:28 PM: Finished restoring cached node modules
1:29:28 PM: Installing NPM modules using NPM version 6.14.4
1:31:03 PM: npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. Iβll try to do my best with it!
1:31:03 PM: > yarn@1.22.10 preinstall /opt/build/repo/node_modules/netlify-cli/node_modules/yarn
1:31:03 PM: > :; (node ./preinstall.js > /dev/null 2>&1 || true)
1:31:17 PM: > husky@4.3.8 install /opt/build/repo/node_modules/netlify-cli/node_modules/husky
1:31:17 PM: > node husky install
1:31:17 PM: husky > Setting up git hooks
1:31:17 PM: CI detected, skipping Git hooks installation.
1:31:17 PM: husky > Done
1:31:21 PM: > core-js@2.6.12 postinstall /opt/build/repo/node_modules/babel-runtime/node_modules/core-js
1:31:21 PM: > node -e βtry{require(β./postinstallβ)}catch(e){}β
1:31:21 PM: > core-js@3.9.1 postinstall /opt/build/repo/node_modules/core-js
1:31:21 PM: > node -e βtry{require(β./postinstallβ)}catch(e){}β
1:31:21 PM: > core-js-pure@3.9.1 postinstall /opt/build/repo/node_modules/core-js-pure
1:31:21 PM: > node -e βtry{require(β./postinstallβ)}catch(e){}β
1:31:21 PM: > ejs@2.7.4 postinstall /opt/build/repo/node_modules/ejs
1:31:21 PM: > node ./postinstall.js
1:31:22 PM: > esbuild@0.11.18 postinstall /opt/build/repo/node_modules/netlify-cli/node_modules/esbuild
1:31:22 PM: > node install.js
1:31:26 PM: > aws-sdk@2.897.0 postinstall /opt/build/repo/node_modules/netlify-cli/node_modules/aws-sdk
1:31:26 PM: > node scripts/check-node-version.js
1:31:26 PM: > husky@4.3.8 postinstall /opt/build/repo/node_modules/netlify-cli/node_modules/husky
1:31:26 PM: > opencollective-postinstall || exit 0
1:31:28 PM: > node-jq@1.12.0 postinstall /opt/build/repo/node_modules/node-jq
1:31:28 PM: > npm run install-binary
1:31:29 PM: > node-jq@1.12.0 install-binary
1:31:29 PM: > node scripts/install-binary.js
1:31:29 PM: Downloading jq from https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
1:31:30 PM: Downloaded in /opt/build/repo/node_modules/node-jq/bin
1:31:30 PM: > netlify-cli@3.28.0 postinstall /opt/build/repo/node_modules/netlify-cli
1:31:30 PM: > node ./scripts/postinstall.js
1:31:30 PM: Success! Netlify CLI has been installed!
1:31:30 PM: Your device is now configured to use Netlify CLI to deploy and manage your Netlify sites.
1:31:30 PM: Next steps:
1:31:30 PM: netlify init Connect or create a Netlify site from current directory
1:31:30 PM: netlify deploy Deploy the latest changes to your Netlify site
1:31:30 PM: For more information on the CLI run netlify help
1:31:30 PM: Or visit the docs at https://cli.netlify.com
1:31:35 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
1:31:35 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {βosβ:βdarwinβ,βarchβ:βanyβ} (current: {βosβ:βlinuxβ,βarchβ:βx64β})
1:31:35 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
1:31:35 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {βosβ:βdarwinβ,βarchβ:βanyβ} (current: {βosβ:βlinuxβ,βarchβ:βx64β})
1:31:35 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/netlify-cli/node_modules/fsevents):
1:31:35 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {βosβ:βdarwinβ,βarchβ:βanyβ} (current: {βosβ:βlinuxβ,βarchβ:βx64β})
1:31:35 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @netlify/traffic-mesh-agent-win32-x64@0.27.10 (node_modules/netlify-cli/node_modules/@netlify/traffic-mesh-agent-win32-x64):
1:31:35 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @netlify/traffic-mesh-agent-win32-x64@0.27.10: wanted {βosβ:βwin32β,βarchβ:βx64β} (current: {βosβ:βlinuxβ,βarchβ:βx64β})
1:31:35 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @netlify/traffic-mesh-agent-darwin-x64@0.27.10 (node_modules/netlify-cli/node_modules/@netlify/traffic-mesh-agent-darwin-x64):
1:31:35 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @netlify/traffic-mesh-agent-darwin-x64@0.27.10: wanted {βosβ:βdarwinβ,βarchβ:βx64β} (current: {βosβ:βlinuxβ,βarchβ:βx64β})
1:31:35 PM: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
1:31:35 PM: npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {βosβ:βdarwinβ,βarchβ:βanyβ} (current: {βosβ:βlinuxβ,βarchβ:βx64β})
1:31:35 PM: added 4804 packages from 2318 contributors and audited 4186 packages in 126.002s
1:31:40 PM: 255 packages are looking for funding
1:31:40 PM: run npm fund
for details
1:31:40 PM: found 305 vulnerabilities (41 low, 234 moderate, 30 high)
1:31:40 PM: run npm audit fix
to fix them, or npm audit
for details
1:31:40 PM: NPM modules installed
1:31:40 PM: Started restoring cached go cache
1:31:40 PM: Finished restoring cached go cache
1:31:40 PM: go version go1.14.4 linux/amd64
1:31:40 PM: go version go1.14.4 linux/amd64
1:31:40 PM: Installing missing commands
1:31:40 PM: Verify run directory
1:31:42 PM: β
1:31:42 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:31:42 PM: Netlify Build
1:31:42 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:31:42 PM: β
1:31:42 PM: β― Version
1:31:42 PM: @netlify/build 11.18.1
1:31:42 PM: β
1:31:42 PM: β― Flags
1:31:42 PM: deployId: 60ac0c9e1ea08d2111f85487
1:31:42 PM: β
1:31:42 PM: β― Current directory
1:31:42 PM: /opt/build/repo
1:31:42 PM: β
1:31:42 PM: β― Config file
1:31:42 PM: /opt/build/repo/netlify.toml
1:31:42 PM: β
1:31:42 PM: β― Context
1:31:42 PM: production
1:31:42 PM: β
1:31:42 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:31:42 PM: 1. build.command from netlify.toml
1:31:42 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:31:42 PM: β
1:31:42 PM: $ npm run build
1:31:42 PM: > tmp@0.1.0 build
1:31:42 PM: > react-scripts build
1:31:44 PM: Creating an optimized production buildβ¦
1:32:24 PM: Compiled successfully.
1:32:24 PM:
1:32:24 PM: File sizes after gzip:
1:32:24 PM: 259.37 KB build/static/js/2.4f9096e8.chunk.js
1:32:24 PM: 2.94 KB build/static/js/main.b17e9e10.chunk.js
1:32:24 PM: 1.77 KB build/static/css/main.155be2e7.chunk.css
1:32:24 PM: 771 B build/static/js/runtime-main.87e7a5e2.js
1:32:24 PM: The project was built assuming it is hosted at /.
1:32:24 PM: You can control this with the homepage field in your package.json.
1:32:24 PM: The build folder is ready to be deployed.
1:32:24 PM: You may serve it with a static server:
1:32:24 PM: npm install -g serve
1:32:24 PM: serve -s build
1:32:24 PM: Find out more about deployment here:
1:32:24 PM: Deployment | Create React App
1:32:24 PM: β
1:32:24 PM: (build.command completed in 42.2s)
1:32:24 PM: β
1:32:24 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:32:24 PM: 2. Functions bundling
1:32:24 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:32:24 PM: β
1:32:24 PM: Packaging Functions from functions directory:
1:32:24 PM: - createDocTodo.js
1:32:24 PM: - createRestTodo.js
1:32:24 PM: - deleteDocTodo.js
1:32:24 PM: - deleteRestTodo.js
1:32:24 PM: - getDocTodos.js
1:32:24 PM: - getRestTodos.js
1:32:24 PM: - updateDocTodo.js
1:32:24 PM: - updateRestTodo.js
1:32:24 PM: β
1:32:37 PM: β
1:32:37 PM: (Functions bundling completed in 12.9s)
1:32:37 PM: β
1:32:37 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:32:37 PM: 3. Deploy site
1:32:37 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:32:37 PM: β
1:32:37 PM: Starting to deploy site from βbuildβ
1:32:37 PM: Creating deploy tree
1:32:37 PM: Creating deploy upload records
1:32:38 PM: 0 new files to upload
1:32:38 PM: 8 new functions to upload
1:32:39 PM: Site deploy was successfully initiated
1:32:39 PM: β
1:32:39 PM: (Deploy site completed in 2.2s)
1:32:39 PM: Starting post processing
1:32:40 PM: β
1:32:40 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:32:40 PM: Netlify Build Complete
1:32:40 PM: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1:32:40 PM: β
1:32:40 PM: (Netlify Build completed in 57.5s)
1:32:40 PM: Post processing - HTML
1:32:40 PM: Post processing - header rules
1:32:40 PM: Starting post processing
1:32:40 PM: Post processing - HTML
1:32:40 PM: Post processing - header rules
1:32:40 PM: Starting post processing
1:32:40 PM: Caching artifacts
1:32:40 PM: Started saving node modules
1:32:40 PM: Finished saving node modules
1:32:40 PM: Started saving build plugins
1:32:40 PM: Post processing - HTML
1:32:40 PM: Finished saving build plugins
1:32:40 PM: Started saving pip cache
1:32:40 PM: Post processing - header rules
1:32:40 PM: Finished saving pip cache
1:32:40 PM: Started saving emacs cask dependencies
1:32:40 PM: Finished saving emacs cask dependencies
1:32:40 PM: Started saving maven dependencies
1:32:40 PM: Finished saving maven dependencies
1:32:40 PM: Starting post processing
1:32:40 PM: Started saving boot dependencies
1:32:40 PM: Finished saving boot dependencies
1:32:40 PM: Started saving rust rustup cache
1:32:40 PM: Finished saving rust rustup cache
1:32:40 PM: Post processing - HTML
1:32:40 PM: Started saving go dependencies
1:32:40 PM: Finished saving go dependencies
1:32:40 PM: Post processing - header rules
1:32:40 PM: Starting post processing
1:32:40 PM: Post processing - HTML
1:32:40 PM: Post processing - header rules
1:32:43 PM: Build script success
1:32:43 PM: Pushing to repository git@github.com:synedra/netlify-astra-3cols
1:33:22 PM: Finished processing build request in 4m2.521934844s
Hi there, @synedra
Thanks for reaching out, and welcome to the Netlify Forums! I recommend you follow the debugging steps in these this support guide:
Once you follow those, let us know if you still have questions
There is no error code. It works fine in netlify dev. As you can see it has no error message, but it claims to have failed to deploy.
Hey @synedra,
I see that we have a helpdesk ticket open with you so weβll follow up over there!
For those following along, it looks at this point to be a redirects or headers syntax error that may have broken our post-processing.