Dear all,
I would like to start a completely new project using the angular-cli with meteor support.
I already tried the example from here:
But the moment to start to include in client code:
import { Accounts } from 'meteor/accounts-base';
import { Meteor } from 'meteor/meteor';
I get error messages like:
ERROR in api/server/main.ts(14,5): error TS2304: Cannot find name 'Accounts'.
src/app/auth/auth.service.ts(5,26): error TS2307: Cannot find module 'meteor/accounts-base'.
src/app/navigation/sidenav-list/sidenav-list.component.ts(18,5): error TS90010: Type 'Subscription' is not assignable to type 'Subscription'. Two different types with this name exist, but they are unrelated.
Property 'added' is missing in type 'Subscription'.
src/app/navigation/sidenav-list/sidenav-list.component.ts(24,27): error TS2339: Property 'unsubscribe' does not exist on type 'Subscription'.
Child html-webpack-plugin for "index.html":
1 asset
[./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html] ./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html 347 bytes {0} [built]
webpack: Failed to compile.
Can anyone recommend a more recent example that works with current angular-cli, angular and meteor?
Thanks a lot.