I'm following the tutorial of Meteor with Ionic and although I've been solving some bug that has got stuck in one in particular I do not know where to put a hand. In particular it has been to modify the main.ts with this code
import 'meteor-client';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { MeteorObservable } from 'meteor-rxjs'; import { Meteor } from 'meteor/meteor'; import { AppModule } from './app.module';
Meteor.startup(() => { const subscription = MeteorObservable.autorun().subscribe(() => {
if (Meteor.loggingIn()) {
return;
}
setTimeout(() => subscription.unsubscribe());
platformBrowserDynamic().bootstrapModule(AppModule); }); });
The error that throws me is the following
ReferenceError: Tracker is not defined at autorun ( link ) at Observable._subscribe ( link ) at Observable._trySubscribe ( link ) at Observable.subscribe ( link ) at link at maybeReady ( link ) at HTMLDocument.loadingCompleted ( link ) at t.invokeTask ( link ) at r.runTask ( link ) at e.invokeTask [as invoke] ( link )
In principle I do not think I need any more dependency since I do not see that I ask for anything either.