You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running yarn command, I get bob build failure in my windows machine while this issue is not reproducible in mac machine.
(bob build is our prepare script in the package.json)
Attaching the error details below,
PS <project_path>> yarn
yarn run v1.22.19
$ yarn example && yarn install && yarn example pods
$ yarn --cwd example
[1/4] Resolving packages...
success Already up-to-date.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
success Already up-to-date.
$ bob build
ℹ Building target commonjs
ℹ Cleaning up previous build at lib\commonjs
ℹ Compiling 3 files in src with babel
✔ Wrote files to lib\commonjs
ℹ Building target module
ℹ Cleaning up previous build at lib\module
ℹ Compiling 3 files in src with babel
✔ Wrote files to lib\module
ℹ Building target typescript
ℹ Cleaning up previous build at lib\typescript
ℹ Generating type definitions with tsc
✔ Wrote definition files to lib\typescript
ℹ Building target aar
ℹ Cleaning up previous build at lib\aar
ℹ Assembling Android project in android with gradle
ℹ Creating new output directory at lib\aar
ℹ Copying AAR from android\build\outputs\aar\android-debug.aar to lib\aar\android-debug.aar
ℹ Creating AAR Gradle file at lib\aar\build.gradle
ℹ Creating new support output directory at lib\aar\support
ℹ Using Jetifier to convert AAR from AndroidX to Support AAR at lib\aar\support\android-debug.aar
bob build
build files for publishing
Options:
--help Show help [boolean]
--version Show version number [boolean]
<ref *1> Error: spawnSync <project_path>\node_modules\.bin\jetifier-standalone ENOENT
at Object.spawnSync (node:internal/child_process:1119:20)
at spawnSync (node:child_process:847:24)
at execFileSync (node:child_process:890:15)
at jetifier (<project_path>\node_modules\react-native-builder-bob\lib\utils\jetifier.js:33:37)
at async build (<project_path>\node_modules\react-native-builder-bob\lib\targets\aar.js:73:5)
at async Object.handler (<project_path>\node_modules\react-native-builder-bob\lib\index.js:349:9) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawnSync <project_path>\\node_modules\\.bin\\jetifier-standalone',
path: '<project_path>\\node_modules\\.bin\\jetifier-standalone',
spawnargs: [
'-i',
'<project_path>\\lib\\aar\\android-debug.aar',
'-o',
'<project_path>\\lib\\aar\\support\\android-debug.aar',
'-r'
],
error: [Circular *1],
status: null,
signal: null,
output: null,
pid: 0,
stdout: null,
stderr: null
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Description
When running
yarn
command, I get bob build failure in my windows machine while this issue is not reproducible in mac machine.(
bob build
is our prepare script in the package.json)Attaching the error details below,
Packages
Selected options
Link to repro
No response
Environment
System
Tools
SDK
npm packages
-./gradlew: Gradle 7.4
The text was updated successfully, but these errors were encountered: