happones / nativescript-laravel-echo

A nativescript plugin for laravel-echo
Apache License 2.0
10 stars 2 forks source link

NativeScript encountered a fatal error: Uncaught TypeError: Class constructor Observable cannot be invoked without 'new' #21

Open julianlaibach opened 2 years ago

julianlaibach commented 2 years ago

Im running a Svelte Native App Version 8.1.5

Im getting an Error:

*** Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Uncaught TypeError: Class constructor Observable cannot be invoked without 'new'
at
Common(file: app/webpack:/xxx/node_modules/nativescript-laravel-echo/laravel-echo.common.js:8:0)
at TnsEcho(file: app/webpack:/xxx/node_modules/nativescript-laravel-echo/laravel-echo.ios.js:7:0)
at (file:///app/bundle.js:466:15)
at run(file: app/webpack:/xxx/node_modules/svelte/internal/index.mjs:18:0)
at (file: app/webpack:/xxx/node_modules/svelte/internal/index.mjs:1749:0)
at flush(file: app/webpack:/xxx/node_modules/svelte/internal/index.mjs:1057:0)
at init(file: app/webpack:/xxx/node_modules/svelte/internal/index.mjs:1841:0)
at App(file:///app/bundle.js:519:56)
at createProxiedComponent(file: app/webpack:/xxx/node_modules/svelte-hmr/runtime/svelte-hooks.js:245:0)
at ProxyComponent(file: app/webpack:/xxx/node_modules/svelte-hmr/runtime/proxy.js:239:41)
at Proxy<App>(file: app/webpack:/xxx/node_modules/svelte-hmr/runtime/proxy.js:339:0)
at resolveComponentElement(file: app/webpack:/xxx/node_modules/svelte-native/dom/index.js:1430:0)
at navigate(file: app/webpack:/xxx/node_modules/svelte-native/dom/index.js:1443:34)
at create(file: app/webpack:/xxx/node_modules/svelte-native/index.js:40:43)
at createViewFromEntry(file: app/webpack:/xxx/node_modules/@nativescript/core/ui/builder/index.js:15:0)
at createRootView(file: app/webpack:/xxx/node_modules/@nativescript/core/application/index.ios.js:317:23)
at setWindowContent(file: app/webpack:/xxx/node_modules/@nativescript/core/application/index.ios.js:258:0)
at notifyAppStarted(file: app/webpack:/xxx/node_modules/@nativescript/core/application/index.ios.js:169:0)
at didFinis<…>

Im on the latest Version of this Package Thanks in Advance!