Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net is not defined #25

Closed
JaganJonnala opened this issue Oct 10, 2016 · 3 comments
Closed

net is not defined #25

JaganJonnala opened this issue Oct 10, 2016 · 3 comments

Comments

@JaganJonnala
Copy link

By Using Nativescript-background-http It is showing error as "Net is Not defined".. BY running my emulator

@JaganJonnala
Copy link
Author

java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException:
Error calling module function

ReferenceError: net is not defined
File: ", line: 1, column: 265

StackTrace:
Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/tns_modules/nativescript-background-http/background-http.js', line: 9, column: 22
Frame: function:'require', file:'', line: 1, column: 266
Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/pages/login/image-upload.js', line: 13, column: 14
Frame: function:'require', file:'', line: 1, column: 266
Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/app.routes.js', line: 3, column: 22
Frame: function:'require', file:'', line: 1, column: 266
Frame: function:'', file:'/data/data/org.nativescript.groceries/files/app/main.js', line: 6, column: 20
Frame: function:'require', file:'', line: 1, column: 266

at android.app.ActivityThread.handleBindApplica

@JaganJonnala
Copy link
Author

Anybody there...?

@Daxito
Copy link
Contributor

Daxito commented Oct 18, 2016

I think this is also related to #11 , there is a PR wit the fix. You can make the change yourself and see what happens.

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

No branches or pull requests

3 participants