We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using Nativescript-vue and adding this the code just as documented in my main app.js file:
import { AppSync } from "nativescript-app-sync"; AppSync.sync({ deploymentKey: "my-key" });
When I try to run tns run android I get this error:
tns run android
System.err: An uncaught Exception occurred on "main" thread. System.err: Calling js method onCreateView failed System.err: TypeError: Right-hand side of 'instanceof' is not an object System.err: System.err: StackTrace: System.err: (file: node_modules/@nativescript/core/ui/layouts/flexbox-layout/flexbox-layout.android.js:14:14) System.err: at applyAllNativeSetters(file: node_modules/@nativescript/core/ui/core/properties/properties.js:1065:37) System.err: at initNativeView(file: node_modules/@nativescript/core/ui/core/properties/properties.js:992:8) ...
System.err: An uncaught Exception occurred on "main" thread.
System.err: Calling js method onCreateView failed
System.err: TypeError: Right-hand side of 'instanceof' is not an object
System.err:
System.err: StackTrace:
System.err: (file: node_modules/@nativescript/core/ui/layouts/flexbox-layout/flexbox-layout.android.js:14:14)
System.err: at applyAllNativeSetters(file: node_modules/@nativescript/core/ui/core/properties/properties.js:1065:37)
System.err: at initNativeView(file: node_modules/@nativescript/core/ui/core/properties/properties.js:992:8)
...
However, if I would run tns run android --no-hmr I would get this:
tns run android --no-hmr
System.err: An uncaught Exception occurred on "main" thread. System.err: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Error calling module function System.err: TypeError: Cannot read property 'getPackageManager' of undefined System.err: File: (file: node_modules/nativescript-appversion/appversion.android.js:48:51) ...
System.err: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Error calling module function
System.err: TypeError: Cannot read property 'getPackageManager' of undefined
System.err: File: (file: node_modules/nativescript-appversion/appversion.android.js:48:51)
The text was updated successfully, but these errors were encountered:
Same error here
Sorry, something went wrong.
No branches or pull requests
Using Nativescript-vue and adding this the code just as documented in my main app.js file:
When I try to run
tns run android
I get this error:However, if I would run
tns run android --no-hmr
I would get this:The text was updated successfully, but these errors were encountered: