expo / turtle

Standalone app builder service
MIT License
385 stars 29 forks source link

Turtle build:android running into error (expo 36) #274

Open mulaiko opened 3 years ago

mulaiko commented 3 years ago

Hi Guys,

I'm an expo/turtle noob. my build is failing with the following

Oct 20 10:49:22 turtle[34364] ERROR: TypeError: Cannot read property 'package' of undefined at runShellAppModificationsAsync (/@expo/xdl@58.0.13/src/detach/AndroidShellApp.js:441:40) at Object.createAndroidShellAppAsync (/@expo/xdl@58.0.13/src/detach/AndroidShellApp.js:376:9) at runShellAppBuilder (/home/m/.nvm/versions/node/v12.18.3/lib/node_modules/turtle-cli/src/builders/android.ts:91:5) at buildAndroid (/home/m/.nvm/versions/node/v12.18.3/lib/node_modules/turtle-cli/src/builders/android.ts:23:26) at /home/m/.nvm/versions/node/v12.18.3/lib/node_modules/turtle-cli/src/bin/utils/builder.ts:87:7 at Command. (/home/m/.nvm/versions/node/v12.18.3/lib/node_modules/turtle-cli/src/bin/index.ts:23:12) platform: "android" Oct 20 10:49:22 turtle[34364] ERROR: Failed to build standalone app err: TypeError: Cannot read property 'package' of undefined at runShellAppModificationsAsync (/@expo/xdl@58.0.13/src/detach/AndroidShellApp.js:441:40) at Object.createAndroidShellAppAsync (/@expo/xdl@58.0.13/src/detach/AndroidShellApp.js:376:9) at runShellAppBuilder (/home/m/.nvm/versions/node/v12.18.3/lib/node_modules/turtle-cli/src/builders/android.ts:91:5) at buildAndroid (/home/m/.nvm/versions/node/v12.18.3/lib/node_modules/turtle-cli/src/builders/android.ts:23:26) at /home/m/.nvm/versions/node/v12.18.3/lib/node_modules/turtle-cli/src/bin/utils/builder.ts:87:7 at Command. (/home/m/.nvm/versions/node/v12.18.3/lib/node_modules/turtle-cli/src/bin/index.ts:23:12) platform: "android"

Expo diagnostics:

Expo CLI 3.28.1 environment info: System: OS: Linux 5.4 Ubuntu 20.04.1 LTS (Focal Fossa) Shell: 5.0.17 - /bin/bash Binaries: Node: 12.19.0 - ~/.nvm/versions/node/v12.19.0/bin/node Yarn: 1.22.10 - ~/.nvm/versions/node/v12.19.0/bin/yarn npm: 6.14.8 - ~/.nvm/versions/node/v12.19.0/bin/npm npmPackages: expo: ^36.0.0 => 36.0.2 react: 16.9.0 => 16.9.0 react-dom: 16.9.0 => 16.9.0 react-native: https://github.com/expo/react-native/archive/sdk-36.0.1.tar.gz => 0.61.4 react-native-web: ^0.11.7 => 0.11.7 react-navigation: ^4.4.0 => 4.4.1 npmGlobalPackages: expo-cli: 3.28.1 Expo Workflow: managed

Could you please help me make sense of this error and assist in my solving the issue?

dons20 commented 3 years ago
  1. What commands did you use to run your build?
  2. Could you share your package.json and app.json, or parts of them?