✖ Build failed android build failed. on expo dashoard there is two errors shown install dependences and build failed

Trouble to make apk file below message is shown on my terminal:
:heavy_multiplication_x: Build failed
:robot: Android build failed:
Unknown error. See logs for more information.
On my expo dashboad below two error messages are shown

Running "npm install" in /home/expo/workingdir/build directory

2[stderr]

npm ERR!

3[stderr]

code ERESOLVE

4[stderr]

npm

5[stderr]

ERR! ERESOLVE could not resolve

6[stderr]

npm ERR!

7[stderr]

npm ERR!

8[stderr]

While resolving: @expo/webpack-config@18.1.2

9[stderr]

npm ERR! Found: expo@49.0.4

10[stderr]

npm ERR! node_modules/expo

11[stderr]

npm ERR!

12[stderr]

expo@"^49.0.0" from the root project

13[stderr]

npm ERR!   peer expo@"*" from expo-application@5.3.0

14[stderr]

npm ERR!   node_modules/expo-application

15[stderr]

npm ERR!     expo-application@"~5.3.0" from expo@49.0.4

16[stderr]

npm ERR!   7 more (expo-constants, expo-file-system, expo-font, ...)

17[stderr]

npm ERR! 

18[stderr]

npm ERR! Could not resolve dependency:

19[stderr]

npm ERR! peer expo@"^48.0.17" from @expo/webpack-config@18.1.2

20[stderr]

npm ERR! node_modules/@expo/webpack-config

21[stderr]

npm ERR!   @expo/webpack-config@"^18.0.1" from the root project

22[stderr]

npm ERR! 

23[stderr]

npm ERR! Conflicting peer dependency: expo@48.0.20

24[stderr]

npm ERR! node_modules/expo

25[stderr]

npm ERR!   peer expo@"^48.0.17" from @expo/webpack-config@18.1.2

26[stderr]

npm ERR!   node_modules/@expo/webpack-config

27[stderr]

npm ERR!     @expo/webpack-config@"^18.0.1" from the root project

28[stderr]

npm ERR! 

29[stderr]

npm ERR! Fix the upstream dependency conflict, or retry

30[stderr]

npm ERR! this command with --force, or --legacy-peer-deps

31[stderr]

npm ERR!

32[stderr]

to accept an incorrect (and potentially broken) dependency resolution.

33[stderr]

npm ERR! 

34[stderr]

npm ERR! See /home/expo/.npm/eresolve-report.txt for a full report.

35[stderr]


36[stderr]

npm ERR! A complete log of this run can be found in:

37[stderr]

npm ERR!     /home/expo/.npm/_logs/2023-07-27T11_44_53_763Z-debug-0.log

38npm exited with non-zero code: 1

Build failed npm exited with non-zero code: 1

Hi @ezharkarim

Try this:

Also, run npx expo-doctor and see if it complains about anything.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.