Title: [Nativescript-vue] TypeError: Right-hand side of 'instanceof' is not an object · Issue #65 · NativeScript/nativescript-app-sync · GitHub
Open Graph Title: [Nativescript-vue] TypeError: Right-hand side of 'instanceof' is not an object · Issue #65 · NativeScript/nativescript-app-sync
X Title: [Nativescript-vue] TypeError: Right-hand side of 'instanceof' is not an object · Issue #65 · NativeScript/nativescript-app-sync
Description: 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: Sy...
Open Graph Description: 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 ...
X Description: 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"...
Opengraph URL: https://github.com/NativeScript/nativescript-app-sync/issues/65
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Nativescript-vue] TypeError: Right-hand side of 'instanceof' is not an object","articleBody":"Using Nativescript-vue and adding this the code just as documented in my main app.js file:\r\n\r\n```\r\nimport { AppSync } from \"nativescript-app-sync\";\r\n\r\nAppSync.sync({\r\n deploymentKey: \"my-key\" \r\n});\r\n```\r\n\r\nWhen I try to run `tns run android` I get this error:\r\n\r\n\u003e System.err: An uncaught Exception occurred on \"main\" thread.\r\n\u003e \r\n\u003e System.err: Calling js method onCreateView failed\r\n\u003e \r\n\u003e System.err: TypeError: Right-hand side of 'instanceof' is not an object\r\n\u003e \r\n\u003e System.err:\r\n\u003e \r\n\u003e System.err: StackTrace:\r\n\u003e \r\n\u003e System.err: (file: node\\_modules/@nativescript/core/ui/layouts/flexbox-layout/flexbox-layout.android.js:14:14)\r\n\u003e \r\n\u003e System.err: at applyAllNativeSetters(file: node\\_modules/@nativescript/core/ui/core/properties/properties.js:1065:37)\r\n\u003e \r\n\u003e System.err: at initNativeView(file: node\\_modules/@nativescript/core/ui/core/properties/properties.js:992:8)\r\n\u003e \r\n\u003e ...\r\n\r\nHowever, if I would run `tns run android --no-hmr` I would get this:\r\n\r\n\u003e \r\n\u003e System.err: An uncaught Exception occurred on \"main\" thread.\r\n\u003e \r\n\u003e System.err: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Error calling module function\r\n\u003e \r\n\u003e System.err: TypeError: Cannot read property 'getPackageManager' of undefined\r\n\u003e \r\n\u003e System.err: File: (file: node\\_modules/nativescript-appversion/appversion.android.js:48:51)\r\n\u003e \r\n\u003e ...","author":{"url":"https://github.com/butaminas","@type":"Person","name":"butaminas"},"datePublished":"2020-06-26T07:23:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/65/nativescript-app-sync/issues/65"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a0034349-1768-0fe4-e6a5-890f5d10da17 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 91AA:11FFEA:14864B8:1B4FC92:6A5ABB2E |
| html-safe-nonce | 1f5fca978b2b7f54af46cbbf9da3fdd5e7db4c6c2a8ff45b7a4db1799287ee31 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MUFBOjExRkZFQToxNDg2NEI4OjFCNEZDOTI6NkE1QUJCMkUiLCJ2aXNpdG9yX2lkIjoiNTc4MzQ3NTkyNjAzNTI0OTk2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9799ae60dc9035887bf59fcbd37adaeacc4ab995e718399b61d7dc932e9a0d57 |
| hovercard-subject-tag | issue:646065492 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-app-sync/65/issue_layout |
| twitter:image | https://opengraph.githubassets.com/00c6553c8db99aaf193adf2e5aec50a7843558b663fd2703751a559f4e78ba15/NativeScript/nativescript-app-sync/issues/65 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/00c6553c8db99aaf193adf2e5aec50a7843558b663fd2703751a559f4e78ba15/NativeScript/nativescript-app-sync/issues/65 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | butaminas |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2702febe50e53f9152dda552dc2049a5eb182778b2655abd5b8619e82e899b4a |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-app-sync git https://github.com/NativeScript/nativescript-app-sync.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 90607216 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-app-sync |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 90607216 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-app-sync |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c0211a077f9b056c5e115f996d9049616d85c3b5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width