masnoon
September 2, 2019, 1:39pm
1
Failing build: Failed to build site
Hi everyone , with all due respect , I have been facing a deployment fail of my react application , which is a front end portfolio app.
This is how app compiled with the netlify platform
Please provide me your support like an angel , I will always thankful to you.
please check the screenshot bcause there a restriction for new user I can have more than 2 links.
perry
September 3, 2019, 6:01pm
2
hi there,
if you search the forum, you will find several posts dealing with this issue:
i am trying to deploy my website and i am getting build failed error:
3:06:23 PM: Error running command: Build script returned non-zero exit code: 1
3:06:23 PM: Failing build: Failed to build site
3:06:23 PM: failed during stage ‘building site’: Build script returned non-zero exit code: 1
{
“name”: “adevonx”,
“version”: “1.0.0”,
“description”: "Application Development Operation ",
“main”: “server.js”,
“scripts”: {
“start”: "./node_modules/.bin/netlify-lambda serve ",
“build”: “./node…
Briefly summarize the issues you have been experiencing.
Hey all , while building, I get non-zero exit code 1 while webpack is processing some lodash modules from node_modules. Weird because I have a project using an identical webpack/babel config that builds without issues on Netlify.
Please provide a link to your live site hosted on Netlify
https://typvp.netlify.com
What have you tried as far as troubleshooting goes? Do you have an idea what is causing the problem?
Building local…
Briefly summarize the issues you have been experiencing.
“Attempting node version ‘v10.16.0’ from .nvmrc” hangs for several minutes, reaches a few percent or fails completely
Please provide a link to your live site hosted on Netlify
What have you tried as far as troubleshooting goes? Do you have an idea what is causing the problem?
The problem suddenly appeared without any changes to node packages or node versions in my setup.
I have tried adding a .nvmrc file to specify desired node versio…
And there is also this general debugging guide as well:
Last reviewed by Netlify Support - August, 2023
Note: This article is only about builds within Netlify’s Continuous Integration (CI) environment, as triggered from git commits or from incoming build webhooks . You can learn more in depth about how Netlify builds your site in this article about how our build bots build sites .
Some background
There are a fair number of reasons that a build could fail in Netlify’s CI environment, even if building works locally. Testing locally is always the place …
Go ahead and work through those, and let us know if the error persists - we’ll be happy to help if you tell us what you tried