Package.json (No such file or directory)

An error occur when I run ./android/scripts/ /tmp/repo:
FAILURE: Build failed with an exception.

  • Where:

Build file ‘/Users/mac/Desktop/jitsi-meet-master/node_modules/react-native-gesture-handler/android/build.gradle’ line: 26

  • What went wrong:

A problem occurred evaluating project ‘:react-native-gesture-handler’.

/Users/mac/Desktop/jitsi-meet-master/android/…/node_modules/react-native-reanimated/package.json (No such file or directory)

  • Try:

Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. Run with –scan to get full insights.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use ‘–warning-mode all’ to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See Command-Line Interface

There doesn’t have package.json but include package-lock.josn in that directory

What version of node and npm are you running?

Thinks,I already fix the problem.
By clean the cache, delete the node_modules and upgrade the node and npm version, then run ‘npm install’ again