Support Forums

Build error exit code: 1, Unable to resolve the dependency tree

I need advice to debug deploy Netlify App
I have tried all the possible solutions in the documentations and in the support forum but couldn’t fix the issue as I am new to Netlify. Your help will be highly appreciated
Here is a link to my git repo: https://github.com/S-Raza-N/projects_portfolio
Build log:

hi @S-Raza-N - this means that some parts of your project (dependencies) are having a conflict- usually this is because some versions of things you are using are incompatible with each other.

does building your project work locally or only when you deploy?

Danke sehr für den Hinweis, ich habe einige unerwünschte Abhängigkeiten beseitigt und die Seite ist jetzt in Betrieb.

You need to add an environment variable with the name NPM_FLAGS and value as --legacy-peer-deps.