expo / turtle

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

Failed to build standalone android app #224

Closed bruv23 closed 4 years ago

bruv23 commented 4 years ago

Issue Description

I am trying to build android apk but it errors on not finding expo library for some reason.

Command executed

turtle build:android --type apk --keystore-path ./keystore.jks --keystore-alias QG1hcmk2bjc3OTUvZXhwby1

Complete output when running turtle, including the stack trace and command used
 turtle[7] ERROR: Failed to build standalone app
  err: Error: Couldn't find the `expo` library in your project's dependencies. Have you run 'yarn install' or 'npm install' for your project?
      at getExpoSDKVersionSafely (/usr/local/lib/node_modules/turtle-cli/src/bin/utils/builder.ts:105:13)
      at /usr/local/lib/node_modules/turtle-cli/src/bin/utils/builder.ts:78:26
      at Command. (/usr/local/lib/node_modules/turtle-cli/src/bin/index.ts:23:12)
  platform: "android" 

Environment

 I am running it in docker container