Type 'Observable' is missing the following properties from type 'Observable': [see below] (error TS2322)Angular 5 ,Three Js errorHow do I push data from a reactive form to firestore?npm ERR! notarget No matching version found for jasmine-core@~2.9.0GroupBy for Observable<todo[]>Ionic 4 Angular template binding with async pipe to observablecannot submit a form in angular 4How to have placeholder images with Angular 6 Firebase?How to fix “Cannot set property 'bindCallback' of undefined” in Ionic?What is wrong with this logfile., Can anybody please point me to the right direction?Having an error at build time showing cannot read property 'getStart ' of undefined

Is my homebrew Awakened Bear race balanced?

The Earth resolves around the Sun or the Sun revolves around the Earth

Is it possible to determine from only a photo of a cityscape whether it was taken close with wide angle or from a distance with zoom?

What's is the easiest way to purchase a stock and hold it

How do you cope with rejection?

Why didn't Daenerys' advisers suggest assassinating Cersei?

Should I twist DC power and ground wires from a power supply?

How was the blinking terminal cursor invented?

Why are stats in Angband written as 18/** instead of 19, 20...?

When did Britain learn about the American Declaration of Independence?

Why is Drogon so much better in battle than Rhaegal and Viserion?

Driving a school bus in the USA

How to customize the pie chart background in PowerPoint?

Is my company merging branches wrong?

Error when running ((x++)) as root

What color to choose as "danger" if the main color of my app is red

Former Employer just sent me an IP Agreement

How to draw pentagram-like shape in Latex?

pwaS eht tirsf dna tasl setterl fo hace dorw

Lock out of Oracle based on Windows username

Is it a good idea to teach algorithm courses using pseudocode?

Why does the setUID bit work inconsistently?

Is there any deeper thematic meaning to the white horse that Arya finds in The Bells (S08E05)?

Was Tyrion always a poor strategist?



Type 'Observable' is missing the following properties from type 'Observable': [see below] (error TS2322)


Angular 5 ,Three Js errorHow do I push data from a reactive form to firestore?npm ERR! notarget No matching version found for jasmine-core@~2.9.0GroupBy for Observable<todo[]>Ionic 4 Angular template binding with async pipe to observablecannot submit a form in angular 4How to have placeholder images with Angular 6 Firebase?How to fix “Cannot set property 'bindCallback' of undefined” in Ionic?What is wrong with this logfile., Can anybody please point me to the right direction?Having an error at build time showing cannot read property 'getStart ' of undefined






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I'm leaning Ionic4 and Angular for an university project (A ToDoList mobile app). I'm trying to get some data from my firestore database with AngularFirestore.collection[...].valueChanges() and to store it in a member variable of my custom service to give it to the component afterwards. But i'm getting both an TS2322 error in Visual Studio Code and in the ionic console.



The error is the following :



Type 'Observable<ToDoList[]>' is missing the following properties from type Observable<ToDoList[]>': buffer, bufferCount, bufferTime, bufferToggle, and 104 more.'



I have followed these two tutorials :
-https://angularfirebase.com/lessons/firestore-advanced-usage-angularfire/
-https://www.techiediaries.com/ionic-firestore-crud/
I have tried to move all the related code to the component, change my AngularFirestore.collection line, inspired by https://github.com/angular/angularfire2/blob/master/docs/firestore/collections.md
I have also tried removing the import of AngularFireAuth, and the line this.afAuth.auth.signInAnonymously();



My lists service :



import Injectable from '@angular/core';
import ToDoItem, ToDoList from '../models/todo-model';
import Http from '@angular/http';
import Observable from 'rxjs/Observable';
import 'rxjs/Rx';
import AngularFirestoreCollection, AngularFirestore from '@angular/fire/firestore';
//import AngularFireAuth from '@angular/fire/auth';


@Injectable(
providedIn: 'root'
)
export class TodoServiceService {
lists: Observable<ToDoList[]>
listsCollectionRef: AngularFirestoreCollection<ToDoList>

constructor(/*public afAuth: AngularFireAuth, */public afs: AngularFirestore)
console.log('Hello TodoServiceProvider Provider');
//this.afAuth.auth.signInAnonymously();
this.listsCollectionRef = this.afs.collection<ToDoList>('ToDoLists');
this.lists = this.listsCollectionRef.valueChanges();


public getLists(): Observable<ToDoList[]>
return this.lists;



My model :



export interface ToDoList 
uuid: string,
name: string,
items: ToDoItem[]


export interface ToDoItem
uuid?: string,
name: string,
desc?: string,
complete: boolean



My component :



import Component from '@angular/core';
import TodoServiceService from '../services/todo-service.service';
import ToDoList from '../models/todo-model';
import Observable from 'rxjs/Observable';
import Router from '@angular/router';
import AlertController from '@ionic/angular';

@Component(
selector: 'app-lists',
templateUrl: 'lists.page.html',
styleUrls: ['lists.page.scss']
)

export class ListsPage
sequence: Observable<ToDoList[]>;

constructor(private service: TodoServiceService,
private router: Router,
private alertController: AlertController)
this.sequence = this.service.getLists();




My package.json




"name": "powerTasks",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts":
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
,
"private": true,
"dependencies":
"@angular/common": "^7.2.2",
"@angular/core": "^7.2.2",
"@angular/fire": "^5.1.2",
"@angular/forms": "^7.2.2",
"@angular/http": "^7.2.2",
"@angular/platform-browser": "^7.2.2",
"@angular/platform-browser-dynamic": "^7.2.2",
"@angular/router": "^7.2.2",
"@ionic-native/core": "^5.0.0",
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^4.0.0",
"angularfire2": "^5.1.2",
"core-js": "^2.5.4",
"firebase": "^5.9.1",
"promise-polyfill": "^8.1.0",
"rxjs": "~6.3.3",
"zone.js": "~0.8.29"
,
"devDependencies":
"@angular-devkit/architect": "~0.12.3",
"@angular-devkit/build-angular": "~0.12.3",
"@angular-devkit/core": "~7.2.3",
"@angular-devkit/schematics": "~7.2.3",
"@angular/cli": "~7.2.3",
"@angular/compiler": "~7.2.2",
"@angular/compiler-cli": "~7.2.2",
"@angular/language-service": "~7.2.2",
"@ionic/angular-toolkit": "~1.3.0",
"@ionic/lab": "1.0.20",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~10.12.0",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.1.4",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~8.0.0",
"tslint": "~5.12.0",
"typescript": "~3.1.6"
,
"description": "An Ionic project"



I expect sequence to contain the Observable extracted from the database and actually I cannot compile and I don't know why I am getting this error...










share|improve this question

















  • 1





    Never, ever import 'rxjs/Rx'. Types (like Observable) and factory functions (like of(), from(), etc.) must be imported from 'rxjs'. Operators must be imported from 'rxjs/operators'. github.com/ReactiveX/rxjs#es6-via-npm, angular.io/guide/rx-library

    – JB Nizet
    Mar 23 at 17:31


















0















I'm leaning Ionic4 and Angular for an university project (A ToDoList mobile app). I'm trying to get some data from my firestore database with AngularFirestore.collection[...].valueChanges() and to store it in a member variable of my custom service to give it to the component afterwards. But i'm getting both an TS2322 error in Visual Studio Code and in the ionic console.



The error is the following :



Type 'Observable<ToDoList[]>' is missing the following properties from type Observable<ToDoList[]>': buffer, bufferCount, bufferTime, bufferToggle, and 104 more.'



I have followed these two tutorials :
-https://angularfirebase.com/lessons/firestore-advanced-usage-angularfire/
-https://www.techiediaries.com/ionic-firestore-crud/
I have tried to move all the related code to the component, change my AngularFirestore.collection line, inspired by https://github.com/angular/angularfire2/blob/master/docs/firestore/collections.md
I have also tried removing the import of AngularFireAuth, and the line this.afAuth.auth.signInAnonymously();



My lists service :



import Injectable from '@angular/core';
import ToDoItem, ToDoList from '../models/todo-model';
import Http from '@angular/http';
import Observable from 'rxjs/Observable';
import 'rxjs/Rx';
import AngularFirestoreCollection, AngularFirestore from '@angular/fire/firestore';
//import AngularFireAuth from '@angular/fire/auth';


@Injectable(
providedIn: 'root'
)
export class TodoServiceService {
lists: Observable<ToDoList[]>
listsCollectionRef: AngularFirestoreCollection<ToDoList>

constructor(/*public afAuth: AngularFireAuth, */public afs: AngularFirestore)
console.log('Hello TodoServiceProvider Provider');
//this.afAuth.auth.signInAnonymously();
this.listsCollectionRef = this.afs.collection<ToDoList>('ToDoLists');
this.lists = this.listsCollectionRef.valueChanges();


public getLists(): Observable<ToDoList[]>
return this.lists;



My model :



export interface ToDoList 
uuid: string,
name: string,
items: ToDoItem[]


export interface ToDoItem
uuid?: string,
name: string,
desc?: string,
complete: boolean



My component :



import Component from '@angular/core';
import TodoServiceService from '../services/todo-service.service';
import ToDoList from '../models/todo-model';
import Observable from 'rxjs/Observable';
import Router from '@angular/router';
import AlertController from '@ionic/angular';

@Component(
selector: 'app-lists',
templateUrl: 'lists.page.html',
styleUrls: ['lists.page.scss']
)

export class ListsPage
sequence: Observable<ToDoList[]>;

constructor(private service: TodoServiceService,
private router: Router,
private alertController: AlertController)
this.sequence = this.service.getLists();




My package.json




"name": "powerTasks",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts":
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
,
"private": true,
"dependencies":
"@angular/common": "^7.2.2",
"@angular/core": "^7.2.2",
"@angular/fire": "^5.1.2",
"@angular/forms": "^7.2.2",
"@angular/http": "^7.2.2",
"@angular/platform-browser": "^7.2.2",
"@angular/platform-browser-dynamic": "^7.2.2",
"@angular/router": "^7.2.2",
"@ionic-native/core": "^5.0.0",
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^4.0.0",
"angularfire2": "^5.1.2",
"core-js": "^2.5.4",
"firebase": "^5.9.1",
"promise-polyfill": "^8.1.0",
"rxjs": "~6.3.3",
"zone.js": "~0.8.29"
,
"devDependencies":
"@angular-devkit/architect": "~0.12.3",
"@angular-devkit/build-angular": "~0.12.3",
"@angular-devkit/core": "~7.2.3",
"@angular-devkit/schematics": "~7.2.3",
"@angular/cli": "~7.2.3",
"@angular/compiler": "~7.2.2",
"@angular/compiler-cli": "~7.2.2",
"@angular/language-service": "~7.2.2",
"@ionic/angular-toolkit": "~1.3.0",
"@ionic/lab": "1.0.20",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~10.12.0",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.1.4",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~8.0.0",
"tslint": "~5.12.0",
"typescript": "~3.1.6"
,
"description": "An Ionic project"



I expect sequence to contain the Observable extracted from the database and actually I cannot compile and I don't know why I am getting this error...










share|improve this question

















  • 1





    Never, ever import 'rxjs/Rx'. Types (like Observable) and factory functions (like of(), from(), etc.) must be imported from 'rxjs'. Operators must be imported from 'rxjs/operators'. github.com/ReactiveX/rxjs#es6-via-npm, angular.io/guide/rx-library

    – JB Nizet
    Mar 23 at 17:31














0












0








0








I'm leaning Ionic4 and Angular for an university project (A ToDoList mobile app). I'm trying to get some data from my firestore database with AngularFirestore.collection[...].valueChanges() and to store it in a member variable of my custom service to give it to the component afterwards. But i'm getting both an TS2322 error in Visual Studio Code and in the ionic console.



The error is the following :



Type 'Observable<ToDoList[]>' is missing the following properties from type Observable<ToDoList[]>': buffer, bufferCount, bufferTime, bufferToggle, and 104 more.'



I have followed these two tutorials :
-https://angularfirebase.com/lessons/firestore-advanced-usage-angularfire/
-https://www.techiediaries.com/ionic-firestore-crud/
I have tried to move all the related code to the component, change my AngularFirestore.collection line, inspired by https://github.com/angular/angularfire2/blob/master/docs/firestore/collections.md
I have also tried removing the import of AngularFireAuth, and the line this.afAuth.auth.signInAnonymously();



My lists service :



import Injectable from '@angular/core';
import ToDoItem, ToDoList from '../models/todo-model';
import Http from '@angular/http';
import Observable from 'rxjs/Observable';
import 'rxjs/Rx';
import AngularFirestoreCollection, AngularFirestore from '@angular/fire/firestore';
//import AngularFireAuth from '@angular/fire/auth';


@Injectable(
providedIn: 'root'
)
export class TodoServiceService {
lists: Observable<ToDoList[]>
listsCollectionRef: AngularFirestoreCollection<ToDoList>

constructor(/*public afAuth: AngularFireAuth, */public afs: AngularFirestore)
console.log('Hello TodoServiceProvider Provider');
//this.afAuth.auth.signInAnonymously();
this.listsCollectionRef = this.afs.collection<ToDoList>('ToDoLists');
this.lists = this.listsCollectionRef.valueChanges();


public getLists(): Observable<ToDoList[]>
return this.lists;



My model :



export interface ToDoList 
uuid: string,
name: string,
items: ToDoItem[]


export interface ToDoItem
uuid?: string,
name: string,
desc?: string,
complete: boolean



My component :



import Component from '@angular/core';
import TodoServiceService from '../services/todo-service.service';
import ToDoList from '../models/todo-model';
import Observable from 'rxjs/Observable';
import Router from '@angular/router';
import AlertController from '@ionic/angular';

@Component(
selector: 'app-lists',
templateUrl: 'lists.page.html',
styleUrls: ['lists.page.scss']
)

export class ListsPage
sequence: Observable<ToDoList[]>;

constructor(private service: TodoServiceService,
private router: Router,
private alertController: AlertController)
this.sequence = this.service.getLists();




My package.json




"name": "powerTasks",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts":
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
,
"private": true,
"dependencies":
"@angular/common": "^7.2.2",
"@angular/core": "^7.2.2",
"@angular/fire": "^5.1.2",
"@angular/forms": "^7.2.2",
"@angular/http": "^7.2.2",
"@angular/platform-browser": "^7.2.2",
"@angular/platform-browser-dynamic": "^7.2.2",
"@angular/router": "^7.2.2",
"@ionic-native/core": "^5.0.0",
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^4.0.0",
"angularfire2": "^5.1.2",
"core-js": "^2.5.4",
"firebase": "^5.9.1",
"promise-polyfill": "^8.1.0",
"rxjs": "~6.3.3",
"zone.js": "~0.8.29"
,
"devDependencies":
"@angular-devkit/architect": "~0.12.3",
"@angular-devkit/build-angular": "~0.12.3",
"@angular-devkit/core": "~7.2.3",
"@angular-devkit/schematics": "~7.2.3",
"@angular/cli": "~7.2.3",
"@angular/compiler": "~7.2.2",
"@angular/compiler-cli": "~7.2.2",
"@angular/language-service": "~7.2.2",
"@ionic/angular-toolkit": "~1.3.0",
"@ionic/lab": "1.0.20",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~10.12.0",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.1.4",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~8.0.0",
"tslint": "~5.12.0",
"typescript": "~3.1.6"
,
"description": "An Ionic project"



I expect sequence to contain the Observable extracted from the database and actually I cannot compile and I don't know why I am getting this error...










share|improve this question














I'm leaning Ionic4 and Angular for an university project (A ToDoList mobile app). I'm trying to get some data from my firestore database with AngularFirestore.collection[...].valueChanges() and to store it in a member variable of my custom service to give it to the component afterwards. But i'm getting both an TS2322 error in Visual Studio Code and in the ionic console.



The error is the following :



Type 'Observable<ToDoList[]>' is missing the following properties from type Observable<ToDoList[]>': buffer, bufferCount, bufferTime, bufferToggle, and 104 more.'



I have followed these two tutorials :
-https://angularfirebase.com/lessons/firestore-advanced-usage-angularfire/
-https://www.techiediaries.com/ionic-firestore-crud/
I have tried to move all the related code to the component, change my AngularFirestore.collection line, inspired by https://github.com/angular/angularfire2/blob/master/docs/firestore/collections.md
I have also tried removing the import of AngularFireAuth, and the line this.afAuth.auth.signInAnonymously();



My lists service :



import Injectable from '@angular/core';
import ToDoItem, ToDoList from '../models/todo-model';
import Http from '@angular/http';
import Observable from 'rxjs/Observable';
import 'rxjs/Rx';
import AngularFirestoreCollection, AngularFirestore from '@angular/fire/firestore';
//import AngularFireAuth from '@angular/fire/auth';


@Injectable(
providedIn: 'root'
)
export class TodoServiceService {
lists: Observable<ToDoList[]>
listsCollectionRef: AngularFirestoreCollection<ToDoList>

constructor(/*public afAuth: AngularFireAuth, */public afs: AngularFirestore)
console.log('Hello TodoServiceProvider Provider');
//this.afAuth.auth.signInAnonymously();
this.listsCollectionRef = this.afs.collection<ToDoList>('ToDoLists');
this.lists = this.listsCollectionRef.valueChanges();


public getLists(): Observable<ToDoList[]>
return this.lists;



My model :



export interface ToDoList 
uuid: string,
name: string,
items: ToDoItem[]


export interface ToDoItem
uuid?: string,
name: string,
desc?: string,
complete: boolean



My component :



import Component from '@angular/core';
import TodoServiceService from '../services/todo-service.service';
import ToDoList from '../models/todo-model';
import Observable from 'rxjs/Observable';
import Router from '@angular/router';
import AlertController from '@ionic/angular';

@Component(
selector: 'app-lists',
templateUrl: 'lists.page.html',
styleUrls: ['lists.page.scss']
)

export class ListsPage
sequence: Observable<ToDoList[]>;

constructor(private service: TodoServiceService,
private router: Router,
private alertController: AlertController)
this.sequence = this.service.getLists();




My package.json




"name": "powerTasks",
"version": "0.0.1",
"author": "Ionic Framework",
"homepage": "https://ionicframework.com/",
"scripts":
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
,
"private": true,
"dependencies":
"@angular/common": "^7.2.2",
"@angular/core": "^7.2.2",
"@angular/fire": "^5.1.2",
"@angular/forms": "^7.2.2",
"@angular/http": "^7.2.2",
"@angular/platform-browser": "^7.2.2",
"@angular/platform-browser-dynamic": "^7.2.2",
"@angular/router": "^7.2.2",
"@ionic-native/core": "^5.0.0",
"@ionic-native/splash-screen": "^5.0.0",
"@ionic-native/status-bar": "^5.0.0",
"@ionic/angular": "^4.0.0",
"angularfire2": "^5.1.2",
"core-js": "^2.5.4",
"firebase": "^5.9.1",
"promise-polyfill": "^8.1.0",
"rxjs": "~6.3.3",
"zone.js": "~0.8.29"
,
"devDependencies":
"@angular-devkit/architect": "~0.12.3",
"@angular-devkit/build-angular": "~0.12.3",
"@angular-devkit/core": "~7.2.3",
"@angular-devkit/schematics": "~7.2.3",
"@angular/cli": "~7.2.3",
"@angular/compiler": "~7.2.2",
"@angular/compiler-cli": "~7.2.2",
"@angular/language-service": "~7.2.2",
"@ionic/angular-toolkit": "~1.3.0",
"@ionic/lab": "1.0.20",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~10.12.0",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.1.4",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~8.0.0",
"tslint": "~5.12.0",
"typescript": "~3.1.6"
,
"description": "An Ionic project"



I expect sequence to contain the Observable extracted from the database and actually I cannot compile and I don't know why I am getting this error...







angular typescript ionic-framework angularfire2 ionic4






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 23 at 17:23









KyronKyron

84




84







  • 1





    Never, ever import 'rxjs/Rx'. Types (like Observable) and factory functions (like of(), from(), etc.) must be imported from 'rxjs'. Operators must be imported from 'rxjs/operators'. github.com/ReactiveX/rxjs#es6-via-npm, angular.io/guide/rx-library

    – JB Nizet
    Mar 23 at 17:31













  • 1





    Never, ever import 'rxjs/Rx'. Types (like Observable) and factory functions (like of(), from(), etc.) must be imported from 'rxjs'. Operators must be imported from 'rxjs/operators'. github.com/ReactiveX/rxjs#es6-via-npm, angular.io/guide/rx-library

    – JB Nizet
    Mar 23 at 17:31








1




1





Never, ever import 'rxjs/Rx'. Types (like Observable) and factory functions (like of(), from(), etc.) must be imported from 'rxjs'. Operators must be imported from 'rxjs/operators'. github.com/ReactiveX/rxjs#es6-via-npm, angular.io/guide/rx-library

– JB Nizet
Mar 23 at 17:31






Never, ever import 'rxjs/Rx'. Types (like Observable) and factory functions (like of(), from(), etc.) must be imported from 'rxjs'. Operators must be imported from 'rxjs/operators'. github.com/ReactiveX/rxjs#es6-via-npm, angular.io/guide/rx-library

– JB Nizet
Mar 23 at 17:31













1 Answer
1






active

oldest

votes


















0














Edit : I think that I could find a solution.
I had a conflict with rxjs imports in my project.
During the troubleshooting, I find out that the compiler was trying to compare two rxjs objects from two different versions (and in different directories)
I uninstalled the rxjs and rxjs-compat from my home directory to used then only the ones in the project folder.
To get away with 'rxjs/Rx', as JB Nizet said, I used only the two following imports :
- import Observable from 'rxjs';
- import 'rxjs/add/observable/of';



(Tell me if there is a way to do it better, somehow)






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55316428%2ftype-observable-is-missing-the-following-properties-from-type-observable%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Edit : I think that I could find a solution.
    I had a conflict with rxjs imports in my project.
    During the troubleshooting, I find out that the compiler was trying to compare two rxjs objects from two different versions (and in different directories)
    I uninstalled the rxjs and rxjs-compat from my home directory to used then only the ones in the project folder.
    To get away with 'rxjs/Rx', as JB Nizet said, I used only the two following imports :
    - import Observable from 'rxjs';
    - import 'rxjs/add/observable/of';



    (Tell me if there is a way to do it better, somehow)






    share|improve this answer



























      0














      Edit : I think that I could find a solution.
      I had a conflict with rxjs imports in my project.
      During the troubleshooting, I find out that the compiler was trying to compare two rxjs objects from two different versions (and in different directories)
      I uninstalled the rxjs and rxjs-compat from my home directory to used then only the ones in the project folder.
      To get away with 'rxjs/Rx', as JB Nizet said, I used only the two following imports :
      - import Observable from 'rxjs';
      - import 'rxjs/add/observable/of';



      (Tell me if there is a way to do it better, somehow)






      share|improve this answer

























        0












        0








        0







        Edit : I think that I could find a solution.
        I had a conflict with rxjs imports in my project.
        During the troubleshooting, I find out that the compiler was trying to compare two rxjs objects from two different versions (and in different directories)
        I uninstalled the rxjs and rxjs-compat from my home directory to used then only the ones in the project folder.
        To get away with 'rxjs/Rx', as JB Nizet said, I used only the two following imports :
        - import Observable from 'rxjs';
        - import 'rxjs/add/observable/of';



        (Tell me if there is a way to do it better, somehow)






        share|improve this answer













        Edit : I think that I could find a solution.
        I had a conflict with rxjs imports in my project.
        During the troubleshooting, I find out that the compiler was trying to compare two rxjs objects from two different versions (and in different directories)
        I uninstalled the rxjs and rxjs-compat from my home directory to used then only the ones in the project folder.
        To get away with 'rxjs/Rx', as JB Nizet said, I used only the two following imports :
        - import Observable from 'rxjs';
        - import 'rxjs/add/observable/of';



        (Tell me if there is a way to do it better, somehow)







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 25 at 19:20









        KyronKyron

        84




        84





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55316428%2ftype-observable-is-missing-the-following-properties-from-type-observable%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript