I use meteor as server, combined with an ionic 5 (& cordova 10) hybrid app. The connection between app & server is established with meteor-client.js and meteor dir (in node_modules), generated with meteor-client bundler. Recently I upgraded from meteor 1.8.1 to 1.11.
The problem is I can only generate a meteor-client.js for meteor 1.8.0.2, without crashing the app on startup. As I remember this problem with meteor-client bundler exists since meteor 1.8.1. Is there any solution or work-around for this problem?
How i use meteor-client bundler:
export ROOT_URL=http://192.168.1.100:3000 && meteor-client bundle -c meteor-client.config.json
meteor-client.config.json:
{
"release": "1.8.0.2",
"runtime": {
"DDP_DEFAULT_CONNECTION_URL": "http://192.168.1.100:3000",
"ROOT_URL": "http://192.168.1.100:3000",
"autoupdate": {
"versions": {}
}
},
"generateNodeModules": true,
"import": [
"accounts-base",
"accounts-password",
"accounts-ui",
"ddp",
"ddp-client",
"ddp-common",
"dynamic-import",
"jalik:ufs",
"jalik:ufs-gridfs",
"johanbrook:publication-collector",
"livedata",
"matb33:collection-hooks",
"meteor",
"meteor-base",
"meteorhacks:meteorx",
"minimongo",
"mongo",
"mongo-id",
"npm-mongo",
"observe-sequence",
"reactive-dict",
"reactive-var",
"reywood:publish-composite",
"service-configuration",
"socket-stream-client",
"tracker"
],
"npmPackages": []
}