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

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.

https://deadrare-gspaceape-0oaek8m.netlify.app

deadrare-gspaceape-0oaek8m

Hi @ju292,

Thanks for providing the additional information.

I’m seeing the error starting here:

It appears that the index.ts got changed and the error is there.

1 Like

i’ll check it out, tks