Windows 10
Meteor 1.10.2
Svelte 3.23.2
Emulator: Pixel 3a (Android v9 API 28)
Mobile Device: Pixel 4 (Android v10 API 29)
So I am doing the tutorial for svelte and everything was going well. But for the sixth step “Running on mobile”, I was struggling to get the thing working on mobile. The app is just meteor with svelte. The app runs but it show a white empty screen after the splash screen. I made sure that the mobile server is accessible through both a mobile device and the emulator. I tried it in the browser and it works as expected only if I toggle “Request Desktop Site” (otherwise the browser also shows a blank page). In the console logs, I get the following error:
I20200620-16:24:03.559(3)? 06-20 16:23:10.785 774 774 I chromium: [INFO:CONSOLE(493)] "Uncaught TypeError: Class constructor SvelteComponentDev cannot be invoked without 'new'", source: http://localhost:12224/
__cordova/app/app.js?hash=834c8bccf6c9f65e259b13d121189e2ff9dc0765 (493)
The docs do say that a specific command is not available on windows but I got it working nevertheless. I’ll try running the thing using a mac vm but idk has anybody got svelte meteor working on mobile?