Meteor 3 Beta run on android

Has anyone managed to launch a Meteor 3 project on Android? I have the impression that my project crashes systematically on android, due to the Accounts package. If anyone has managed to test an application on android, I'd appreciate a clarification. Here's the Logcat extract : 04-04 19:44:09.568 30498 30498 I chromium: [INFO:CONSOLE(97)] "Uncaught TypeError: Cannot read properties of undefined (reading 'public')", source: http://localhost:12032/__cordova/packages/accounts-ui-unstyled.js?hash=ce24e5fb70b4e099cec055c4180f9fb8a9b25d05 (97) I also get this error in my terminal when I launch the project, but I also get it with an empty project (Meteor's base project) and it doesn't prevent the application from running...
TypeError: Cannot read properties of undefined (reading 'format')
at logFromAndroidLogcatLine (/tools/cordova/run-targets.js:203:14)
at /tools/cordova/run-targets.js:144:26
at Transform.transform._transform (/home/loris/.meteor/packages/meteor-tool/.3.0.0-beta.7.bbd3zd.hqhz++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/tools/utils/tools/utils/eachline.ts:22:20)
at Transform._write (node:internal/streams/transform:171:8)
at doWrite (node:internal/streams/writable:590:12)
at clearBuffer (node:internal/streams/writable:773:7)
at onwrite (node:internal/streams/writable:644:7)
at node:internal/streams/transform:191:7
at Transform.transform._transform (/home/loris/.meteor/packages/meteor-tool/.3.0.0-beta.7.bbd3zd.hqhz++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/tools/utils/tools/utils/eachline.ts:27:5)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on DuplexWrapper instance at:
at emitErrorNT (node:internal/streams/destroy:169:8)
at errorOrDestroy (node:internal/streams/destroy:238:7)
at DuplexWrapper.onerror (node:internal/streams/readable:1024:9)
at DuplexWrapper.emit (node:events:518:28)
at Transform.<anonymous> (/home/loris/.meteor/packages/meteor-tool/.3.0.0-beta.7.bbd3zd.hqhz++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/multipipe/index.js:62:55)
at Transform.emit (node:events:530:35)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21)

Node.js v20.11.1
TypeError: Cannot read properties of undefined (reading 'format')
at logFromAndroidLogcatLine (/tools/cordova/run-targets.js:203:14)
at /tools/cordova/run-targets.js:144:26
at Transform.transform._transform (/home/loris/.meteor/packages/meteor-tool/.3.0.0-beta.7.bbd3zd.hqhz++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/tools/utils/tools/utils/eachline.ts:22:20)
at Transform._write (node:internal/streams/transform:171:8)
at doWrite (node:internal/streams/writable:590:12)
at clearBuffer (node:internal/streams/writable:773:7)
at onwrite (node:internal/streams/writable:644:7)
at node:internal/streams/transform:191:7
at Transform.transform._transform (/home/loris/.meteor/packages/meteor-tool/.3.0.0-beta.7.bbd3zd.hqhz++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/tools/utils/tools/utils/eachline.ts:27:5)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on DuplexWrapper instance at:
at emitErrorNT (node:internal/streams/destroy:169:8)
at errorOrDestroy (node:internal/streams/destroy:238:7)
at DuplexWrapper.onerror (node:internal/streams/readable:1024:9)
at DuplexWrapper.emit (node:events:518:28)
at Transform.<anonymous> (/home/loris/.meteor/packages/meteor-tool/.3.0.0-beta.7.bbd3zd.hqhz++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/multipipe/index.js:62:55)
at Transform.emit (node:events:530:35)
at emitErrorNT (node:internal/streams/destroy:169:8)
at emitErrorCloseNT (node:internal/streams/destroy:128:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21)

Node.js v20.11.1
Thanks in advance for help šŸ™
3 Replies
Nacho CodoƱer
Nacho CodoƱerā€¢7mo ago
Hello, I just tested Cordova in Meteor 3.0-beta.7 release and worked well for me, and with the accounts package. May you provide a minimal repository where the issue can be seen straight? This way we can hunt down specifically the problem you get. Thanks
TypeError: Cannot read properties of undefined (reading 'format')
Wait, I have got this issue as you do. And it completely crashes the server.
Nacho CodoƱer
Nacho CodoƱerā€¢7mo ago
https://forums.meteor.com/t/meteor-3-typeerror-cannot-read-properties-of-undefined-reading-format/61390 Reported on the forums as well. We track this issue and find out a solution. Thanks for the report. About the accounts issue, maybe that one needs a repro steps, but we will focus in the other for the moment being.
Meteor.js forums
Meteor 3: TypeError: Cannot read properties of undefined (reading '...
Hi, I am running: Meteor 3 beta6 vite-bundler 2.0.0 beta.12 meteor-vite 1.10.2 I am trying to have the meteor create --vue myproject running with Cordova. When I run: meteor run android-device, the application is lauchned but on server side, I have this issue: BUILD SUCCESSFUL in 3s 52 actionable tasks: 7 executed, 45 up-to-date Checking J...
Nacho CodoƱer
Nacho CodoƱerā€¢6mo ago
One of the issues reported here will be fixed on this PR, https://github.com/meteor/meteor/pull/13117. Regarding the use of accounts package and the other errror reported, I didn't get it when testing, so if you have a reproduction of an small app triggering it I can review if it is fixed after the first fix. Otherwise, when next 3.x RC is available, you can test it. Thanks. The fix on Cordova experience was added on 3.0-rc.1 release that happened previous Monday. Please, review if the issue is fixed for you and if the other you got still happens. Otherwise, for the other I would need a reproduction repository.
Want results from more Discord servers?
Add your server