Closed simoneb closed 3 years ago
I had the same problem:
`Mar 22 15:41:02 turtle[2715] ERROR: Error: ./gradlew exited with non-zero code: 1 at ChildProcess.completionListener (/opt/hostedtoolcache/node/10.24.0/x64/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13) at Object.onceWrapper (events.js:286:20) at ChildProcess.emit (events.js:198:13) at ChildProcess.EventEmitter.emit (domain.js:448:20) at maybeClose (internal/child_process.js:982:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) ... at spawnAsync (/opt/hostedtoolcache/node/10.24.0/x64/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19) at spawnAsyncThrowError (/@expo/xdl@59.0.17/src/detach/ExponentTools.ts:111:19) at buildShellAppAsync (/@expo/xdl@59.0.17/src/detach/AndroidShellApp.js:1476:11) platform: "android" Mar 22 15:41:02 turtle[2715] ERROR: Failed to build standalone app err: Error: ./gradlew exited with non-zero code: 1 at ChildProcess.completionListener (/opt/hostedtoolcache/node/10.24.0/x64/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:65:13) at Object.onceWrapper (events.js:286:20) at ChildProcess.emit (events.js:198:13) at ChildProcess.EventEmitter.emit (domain.js:448:20) at maybeClose (internal/child_process.js:982:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) ... at spawnAsync (/opt/hostedtoolcache/node/10.24.0/x64/lib/node_modules/turtle-cli/node_modules/@expo/spawn-async/src/spawnAsync.ts:26:19) at spawnAsyncThrowError (/@expo/xdl@59.0.17/src/detach/ExponentTools.ts:111:19) at buildShellAppAsync (/@expo/xdl@59.0.17/src/detach/AndroidShellApp.js:1476:11) platform: "android"
Finishing: Turtle - Build `
Turtle version: turtle-cli@0.20.7
Expo diagnostics Expo CLI 4.3.2 environment info: System: OS: Windows 10 10.0.19041 Binaries: Node: 10.17.0 - D:\Programas\Nodejs\node.EXE npm: 7.6.0 - D:\Programas\Nodejs\npm.CMD IDEs: Android Studio: Version 3.6.0.0 AI-192.7142.36.36.6392135 npmPackages: expo: ^40.0.0 => 40.0.1 react: 16.13.1 => 16.13.1 react-dom: 16.13.1 => 16.13.1 react-native: https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz => 0.63.2 react-native-web: ~0.13.12 => 0.13.18 Expo Workflow: managed
I should add that I got a working build some days ago but because I'm trying to set up an automated build process right now I can't be certain that the error isn't caused by changes I did, even though I couldn't pinpoint that to anything specifically.
Same issue
I tried turtle build now and works fine!!
It's fixed for me too, I'm going to close this issue. Thanks
New Issue Checklist
yarn global add turtle-cli
ornpm install --global turtle-cli
).Issue Description
Build fails with error:
Command executed
Complete output when running turtle, including the stack trace and command used
Environment