Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

App fails to compile: "Can't find variable: self" #24

Open
xeoncross opened this issue Sep 25, 2018 · 5 comments
Open

App fails to compile: "Can't find variable: self" #24

xeoncross opened this issue Sep 25, 2018 · 5 comments

Comments

@xeoncross
Copy link

xeoncross commented Sep 25, 2018

I'm having trouble launching this application via a physical android device as well as an emulator instance. The Javascript starts to build but fails with the following error:

screen shot 2018-09-25 at 3 13 12 pm

I don't see any instance of the variable "self" in this codebase, so I assume I'm missing something in the project setup.

@xeoncross
Copy link
Author

I changed the app.json sdkVersion to 28.0.0. (I don't have 29 installed) and the message changed to provide more details.

screen shot 2018-09-25 at 3 22 21 pm

@basaamp
Copy link

basaamp commented Oct 14, 2018

You can try expo.snack.io, I build a whole android chatting application on it, it has a camera you take a picture and upload a file.
https://snack.expo.io/@basaampro/chattyiov12a

@cobra0901
Copy link

npm add [email protected] --save

@riyadshauk
Copy link

I fixed build issues in this PR: #29.

@chenyu1990
Copy link

npm add [email protected] --save

not work for me.
sdk 35.0.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants