Wesbite wont update,- dont know how to do what the support says

PLEASE help us help you by writing a good post!

  • we need to know your netlify site name. Example: gifted-antelope-58b104.netlify.app
  • DNS issues? Tell us the custom domain, tell us the error message! We can’t help if we don’t know your domain.
  • Build problems? Link or paste the FULL build log & build settings screenshot

The better the post - the faster the answer.
I’ve been trying to update my website from netlify, and it always says the same thing, support told i should install a npm , whith this ; Deploy failed today: Build was terminated: Build script returned non-zero exit code: 1, but i dont have any idea how to do it (im a noob at that), if anyone could help that’ll be great !

Hi, @ju292. You didn’t share enough information for us to help you. For example, we need the information below to assist you:

  • a link to your site
  • a copy of the deploy logs (unless they are public but these are not)
  • a link to your repo (if it is public but it is not)

Without that important information, no one is going to be able to assist you.

I can see the logs as I’m part of the support team at Netlify. The error is during the NPM install process due to dependency errors. You’ll need to resolve those errors in order for the build to succeed.

Again, as this is a private repo, we cannot tell you exactly what needs to be changed. If you wanted to make that repo public or share your package.json file here, someone may be able to assist you.

any idea where i can make all of that public ? so you can see and explain me the issue

You can make that information public here @ju292.

1 Like

how can i make that public ? pls describe i dont know anything about all that

Hey @ju292 :wave:

Here are instructions describing how to make a repo public. Additionally, here are instructions for how you can make your deploy logs public.

Lastly, as @luke said, we believe the error is during the NPM install process due to dependency errors. You’ll need to resolve those errors in order for the build to succeed. Here are the NPM docs about common errors.

Please read all of the resources I have shared here and let us know if they help!

1 Like

OK ! tks to you all here is the repo public : GitHub - ju292/Deadrare

and the Netlify is here :
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCy+H3JFRxSAjkMievk4SkZcgRsgBkipSq3/cJqgXwy3YdED3X/ujPNk6Jiq8NKddIXKXyCek6EdDxZ1gnjewa3j91pqGwT9ApbtYco1KOY20KlkmDlXwiGV6Pf0wHgksodRsYPOsT/R/KCepZ5p7oMT/1uzQWe1KrLa0GXX22wrJMgZiocIs0Oht63/Gh2AKK5VuyC1uQnVEK7MgLECWl1Lxh3BVf3c895vuRm6eVa1Zbg0acrMgbylql5iYAv4bO12xU0Qt4nRCOfnnpougMfc866tPDIXE0egXShCp6sUEHNZ49Y6Z6Eq3utzqkpuZh4scohyIf/nI5cdrcEInbd4mkC2Fyo6b7AQcEp+mm6AlL5jP5ICkR5KYe6+m2Fho6ayD09P1K27nYgpJq38jozFv4AL5agmzhWsVh+K49JlC+Hn0F5IjiqXAZY9cg9VMQ1502/IMalnOKyrKtBhOt2Hq4B4kU2JKCmlDJirYX+Azpr+MWfioyMMkiScafvDWO/42dbPtxi17EAPYjl3FSdi9kj+NUzPvFOV3HzTPZzIE9CaE3bF+oB6EAYBtO9dBvcvWbCcq0srb3qTtoAz5H/IyCvqsYv81JyVqeG8UHSfJZpphXc2llISMbH0DjglRXbPW32j9GuS/L+Zo2xk6fEEObOUjy7iVAsxApKWo11Lw==

(Public key), tell me if you need anything else !

The NFT/Crypto site you wish to deploy is built with React. In addition to the resources @hillary has linked, I would advise you look at the documentation specific to deploying Create React Apps sites on Netlify.

Netlify documentation

Create React App documentation

Honnestly i just wanna know how to fix my issue with the NPM whatever the name is, and be able to update my website again , if anyone could explain to me IN DETAILS (cuz again im a noobie here) so it can be fixed ASAP that’lle be nice

You haven’t described what the issue is.

Can you provide the link to a deploy log showing the problem?

how can i provide that ?

Log in the the Netlify dashboard, select your site, select the latest deploy from the deploy list that has failed, then copy the URL from the address bar and paste it here.

ok here it is

Appears deploy logs for that site aren’t public. Can you post the contents of the log here in a preformatted text block (with ``` before and after.)

ah damn , i cant figure how to make the logs public

still private with that link ?

Change deploy log visibility under build settings

https://app.netlify.com/sites/deadrare-nft-elrondapes-8f-c56/settings/deploys

I only have this

here is the whole deploy thing having an issues (latest deploy)

10:34:34 PM: Build ready to start
10:34:37 PM: build-image version: d05976bd3309b73a86eaa327bf80e105ff13f5e4 (focal)
10:34:37 PM: build-image tag: v4.13.0
10:34:37 PM: buildbot version: 3a000de5d3727998f3297394596d287d7e49aecd
10:34:37 PM: Fetching cached dependencies
10:34:37 PM: Failed to fetch cache, continuing with build
10:34:37 PM: Starting to prepare the repo for build
10:34:37 PM: No cached dependencies found. Cloning fresh repo
10:34:37 PM: git clone https://github.com/ju292/Deadrare
10:34:39 PM: Preparing Git Reference refs/heads/main
10:34:39 PM: Parsing package.json dependencies
10:34:40 PM: Starting build script
10:34:40 PM: Installing dependencies
10:34:40 PM: Python version set to 2.7
10:34:41 PM: v16.18.0 is already installed.
10:34:41 PM: Now using node v16.18.0 (npm v8.19.2)
10:34:41 PM: Enabling node corepack
10:34:41 PM: Started restoring cached build plugins
10:34:41 PM: Finished restoring cached build plugins
10:34:42 PM: Attempting ruby version 2.7.2, read from environment
10:34:42 PM: Using ruby version 2.7.2
10:34:42 PM: Using PHP version 8.0
10:34:43 PM: No npm workspaces detected
10:34:43 PM: Started restoring cached node modules
10:34:43 PM: Finished restoring cached node modules
10:34:43 PM: Installing NPM modules using NPM version 8.19.2
10:34:45 PM: npm ERR! code ERESOLVE
10:34:45 PM: npm ERR! ERESOLVE could not resolve
10:34:45 PM: npm ERR!
10:34:45 PM: npm ERR! While resolving: @elrondnetwork/dapp@0.0.68
10:34:45 PM: npm ERR! Found: @elrondnetwork/erdjs@8.0.1-alpha.20
10:34:45 PM: npm ERR! node_modules/@elrondnetwork/erdjs
10:34:45 PM: npm ERR!   @elrondnetwork/erdjs@"^8.0.1-alpha.20" from the root project
10:34:45 PM: npm ERR!
10:34:45 PM: npm ERR! Could not resolve dependency:
10:34:45 PM: npm ERR! peer @elrondnetwork/erdjs@"8.0.1-alpha.9" from @elrondnetwork/dapp@0.0.68
10:34:45 PM: npm ERR! node_modules/@elrondnetwork/dapp
10:34:45 PM: npm ERR!   @elrondnetwork/dapp@"0.0.68" from the root project
10:34:45 PM: npm ERR!
10:34:45 PM: npm ERR! Conflicting peer dependency: @elrondnetwork/erdjs@8.0.1-alpha.9
10:34:45 PM: npm ERR! node_modules/@elrondnetwork/erdjs
10:34:45 PM: npm ERR!   peer @elrondnetwork/erdjs@"8.0.1-alpha.9" from @elrondnetwork/dapp@0.0.68
10:34:45 PM: npm ERR!   node_modules/@elrondnetwork/dapp
10:34:45 PM: npm ERR!     @elrondnetwork/dapp@"0.0.68" from the root project
10:34:45 PM: npm ERR!
10:34:45 PM: npm ERR! Fix the upstream dependency conflict, or retry
10:34:45 PM: npm ERR! this command with --force, or --legacy-peer-deps
10:34:45 PM: npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
10:34:45 PM: npm ERR!
10:34:45 PM: npm ERR! See /opt/buildhome/.npm/eresolve-report.txt for a full report.
10:34:45 PM: npm ERR! A complete log of this run can be found in:
10:34:45 PM: npm ERR!     /opt/buildhome/.npm/_logs/2022-10-19T20_34_43_580Z-debug-0.log
10:34:45 PM: Error during NPM install
10:34:45 PM: Build was terminated: Build script returned non-zero exit code: 1
10:34:45 PM: Creating deploy upload records
10:34:46 PM: Failing build: Failed to build site
10:34:46 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1 (https://ntl.fyi/exit-code-1)
10:34:46 PM: Finished processing build request in 8.947036307s

You can find the solution to this issue in the following post

1 Like