The build fails at the prebuild step. Yarn berry is well configured and integrated such that a local build succeeds. My understanding of the failing looks rather easy to fix on your end: your build service seems to tamper with the package.json file and inject new dependencies. After which the service runs a new yarn install but it looks like the immutable flag is set. Because of those changes in the package.json, the install aborts with the below message:
The lockfile would have been modified by this install, which is explicitly forbidden.
What EAS should do is install in “lax” mode that is yarn install instead of yarn install --immutable
Managed project require those additional packages to build and autolink native code(both expo packages and any package that supports react-native autolinking). after adding those packages we are running yarn install or npm install depending on what lockfile you have, flag --immutable or any other is not passed there, if sth is enforcing constant lockfile it’s likely inside your project configuration