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

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

so i need to type " npm install --force or npm install --legacy-peer-deps" ? but where ? and how.?

sorry btw i created another post to get your attention but netlify just let me answer more than 10 x

If you look further down the thread, you’ll find the answer

so i just need to type that in environnement section ?

this happened there

11:44:30 PM: > mint_app@0.1.0 build
11:44:30 PM: > react-scripts build
11:44:31 PM: Creating an optimized production build...
11:44:32 PM: Browserslist: caniuse-lite is outdated. Please run:
11:44:32 PM:   npx browserslist@latest --update-db
11:44:32 PM:   Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
11:45:26 PM: 
11:45:26 PM: Treating warnings as errors because process.env.CI = true.
11:45:26 PM: Most CI servers set it automatically.
11:45:26 PM: 
11:45:26 PM: Failed to compile.
11:45:26 PM: 
11:45:26 PM: src/App.tsx
11:45:26 PM:   Line 10:1:   Delete `⏎⏎`                                                             prettier/prettier
11:45:26 PM:   Line 14:1:   Replace `⏎⏎function·App()·{⏎·` with `function·App()·{`                  prettier/prettier
11:45:26 PM:   Line 20:3:   Delete `····⏎`                                                          prettier/prettier
11:45:26 PM:   Line 22:7:   Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 23:9:   Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 24:1:   Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 25:9:   Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 26:7:   Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 27:1:   Replace `····` with `······`                                            prettier/prettier
11:45:26 PM:   Line 28:3:   Delete `···⏎⏎`                                                          prettier/prettier
11:45:26 PM:   Line 31:9:   Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 32:1:   Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 33:1:   Replace `············` with `··············`                            prettier/prettier
11:45:26 PM:   Line 34:11:  Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 35:1:   Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 36:13:  Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 37:11:  Replace `</Route>·⏎` with `··</Route>⏎··`                               prettier/prettier
11:45:26 PM:   Line 39:13:  Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 40:1:   Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 41:11:  Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 42:11:  Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 43:11:  Delete `⏎········`                                                      prettier/prettier
11:45:26 PM:   Line 45:1:   Insert `··`                                                             prettier/prettier
11:45:26 PM:   Line 46:1:   Replace `·····⏎·⏎` with `⏎··`                                           prettier/prettier
11:45:26 PM:   Line 49:1:   Replace `⏎⏎····</Dapp.Context>⏎····⏎····` with `······</Dapp.Context>`  prettier/prettier
11:45:26 PM: src/components/Dashboard/Dashboard.tsx
11:45:26 PM:   Line 2:10:  'useState' is defined but never used  @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 3:10:  'Pane' is defined but never used      @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 3:16:  'Tablist' is defined but never used   @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 3:25:  'Tab' is defined but never used       @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 8:1:   Delete `⏎⏎`                           prettier/prettier
11:45:26 PM:   Line 11:3:  Delete `⏎⏎··`                         prettier/prettier
11:45:26 PM:   Line 15:1:  Insert `·`                            prettier/prettier
11:45:26 PM: src/components/Dashboard/MintTab.tsx
11:45:26 PM:   Line 1:10:    'Pane' is defined but never used                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 1:16:    'Card' is defined but never used                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 1:22:    'Text' is defined but never used                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 1:36:    'Heading' is defined but never used                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 4:22:    Replace `"../../static/media/nftImage.png";␍⏎` with `'../../static/media/nftImage.png';`                                                                                                                                                                                                                                                                                                                                                                                                                                                                     prettier/prettier
11:45:26 PM:   Line 11:8:    'InputNumber' is defined but never used                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 17:1:    Delete `␍⏎␍⏎`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                prettier/prettier
11:45:26 PM:   Line 20:11:   'account' is assigned a value but never used                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 20:29:   'explorerAddress' is assigned a value but never used                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 21:10:   'remainingNFT' is assigned a value but never used                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 21:24:   'setRemainingNfts' is assigned a value but never used                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 22:1:    Delete `··`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  prettier/prettier
11:45:26 PM:   Line 23:10:   'pending' is assigned a value but never used                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 26:1:    Delete `··`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  prettier/prettier
11:45:26 PM:   Line 27:10:   'tokenBal' is assigned a value but never used                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 27:20:   'setTokenBal' is assigned a value but never used                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 28:1:    Delete `··`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  prettier/prettier
11:45:26 PM:   Line 29:9:    'smallRes' is assigned a value but never used                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 33:1:    Delete `␍⏎␍⏎·␍⏎··␍⏎␍⏎␍⏎`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     prettier/prettier
11:45:26 PM:   Line 40:5:    Delete `␍⏎····`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              prettier/prettier
11:45:26 PM:   Line 42:11:   'signal' is assigned a value but never used                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @typescript-eslint/no-unused-vars
11:45:26 PM:   Line 44:1:    Delete `···␍⏎····`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           prettier/prettier
11:45:26 PM:   Line 47:7:    Delete `␍⏎······␍⏎······`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    prettier/prettier
11:45:26 PM:   Line 50:9:    Delete `␍⏎········␍⏎········`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                prettier/prettier
11:45:26 PM:   Line 53:8:    Delete `␍⏎`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  prettier/prettier
11:45:26 PM:   Line 73:24:   Replace `"/dashboard"` with `'/dashboard'`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   prettier/prettier
11:45:26 PM:   Line 79:11:   Replace `"buy"` with `'buy'`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 prettier/prettier
11:45:26 PM:   Line 84:1:    Delete `␍⏎␍⏎␍⏎··␍⏎␍⏎␍⏎␍⏎`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    prettier/prettier
11:45:26 PM:   Line 93:1:    Delete `······`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              prettier/prettier
11:45:26 PM:   Line 94:1:    Replace `␍⏎` with `········`                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 prettier/prettier
11:45:26 PM:   Line 96:1:    Replace `<img·src={nftImage}·width="100%"·` with `··········<img·src={nftImage}·width="100%"`                                                                                                                                                                                                                                                                                                                                                                                                                                                                prettier/prettier
11:45:26 PM:   Line 97:1:    Replace `<a·id="btnOriginal"·href="https://media.elrond.com/nfts/asset/QmRP9FVznm1xxa3FEsDENXhafRDaRWY6LKQdg8GygHNHKw/1748.png"><strong>View·Original</strong>` with 

and more but i have a limit to type here

There is nothing I can add to that in the log. The error log tells you how to fix the issues.

so what do i need to do ?

Hi, @ju292. You code is exiting with a non-zero exit code. For most operating systems, a non-zero exit code indicates the program exited due to an error. (The build system is using Ubuntu Linux and the preceding is true for all Unix variants - Linux included.)

This is shown in build logs:

10:57:27 PM: ────────────────────────────────────────────────────────────────
10:57:27 PM:   "build.command" failed                                        
10:57:27 PM: ────────────────────────────────────────────────────────────────
10:57:27 PM: ​
10:57:27 PM:   Error message
10:57:27 PM:   Command failed with exit code 1: npm run build (https://ntl.fyi/exit-code-1)

The exit code is coming from your build code. We (meaning Netlify) didn’t write your build code which means we do not know why it happens. We can see the exit code but not the reason for it.

Please also note, that the scope of our technical support only includes the code that Netlify writes and the services we provide. Our support team does not have the resources available to debug the code written by other people.

Someone else on this support forum might be willing to do so and your question is welcome here. I just want to explain the limits of what our support team can assist with.

Yeah but i have an issue with netlify hosting , and i did not found the solution yet, and as i paid for a hosting name on Netlify, i request help or debug

The issue it NOT with Netlify, the issue is with your code. This I say with confidence because I saw the same errors when trying to build your code on my local machine.

The errors in the first deploy log you shared where to do with outdated and incompatible packages, including one which is deprecated see: @elrondnetwork/dapp

The second deploy log contains prettier/prettier errors about malformed code

and @typescript-eslint/no-unused-vars errors about variables that are defined and not used.

Again, these are entirely issues with your code and NOT Netlify.

As I previously stated

For example:

This tells you to delete a series of spaces and line-breaks, and replace with a line-break and two spaces.

This tells you that useState is defined, but is not used in the code so you should delete it.

Have you not received help in debugging and rectifying the issues you are seeing in the plethora of post above?

yep i did, so let me get this straight :
To fix all of that i need to delete every thing that netlify says as “prettier” for example, $
but how do i fix the error about the @elrondnetwork/dapp ?

??? why is no one asnwering me

The simplest solution is to go here: Netlify App, click on:

and change the build command to CI= npm run build. Please copy-paste this as it is instead of trying to type it.

Hey thanks for the previous help; i am now getting a new error hope you could help me out and make it as simple as the other time


here is my error, hope you can help me sort this out, or anyone who know what to do

Please share the site name.