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 Java JDK and Android SDK versions /
ANDROID_HOME=/home/xxx/Android/Sdk (recommended setting)
ANDROID_SDK_ROOT=/home/xxx/Android/Sdk (DEPRECATED)
Using Android SDK: /home/xxx/Android/Sdk \
=> Started app on Android Device.
node:events:496
throw er; // Unhandled 'error' event
^
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/xxx/.meteor/packages/meteor-tool/.3.0.0-beta.6.6skf6b.j9av++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/xxx/.meteor/packages/meteor-tool/.3.0.0-beta.6.6skf6b.j9av++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/xxx/.meteor/packages/meteor-tool/.3.0.0-beta.6.6skf6b.j9av++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)
The following repo reproduces the issue: