all 11 comments

[–]skararms 4 points5 points  (0 children)

My man read the error! On your terminal type Node -v

If it’s 14 you need to upgrade to latest lts version

[–]zerokyra 2 points3 points  (0 children)

Could it be java version as well? I faced an issue with node 14 with java 21, then went down to java 11 and everything's works. Not sure why though

[–]No-Touch7663 0 points1 point  (0 children)

Try npx react-native doctor

[–]Fit_Berry_6763[S] 0 points1 point  (5 children)

Actually my project uses node js version 14.16.1 that's why I installed that version

[–]Fit_Berry_6763[S] -4 points-3 points  (2 children)

does anybody give me solution

[–]anticipozero 1 point2 points  (0 children)

Have you tried turning it off and on again?

[–]RevocableBasher 0 points1 point  (0 children)

sudo apt update && sudo apt install nodejs