ERROR TypeError: Observable_1.Observable.of is not a function
Hi Everyone, I'm just trying to getting the below error when I tried implementing the tree using ng2-tree.

Same here...
And I was also facing issues about rxjs ("Subject and Observable not in rxjs's exports") that made the build fail when running ng serve. Then I installed rxjs-compat and it built, but the same error reported above occurred here.
Running Angular CLI 6.0.1

I solved this by downgrading rxjs and rxjs-compat to 6.2.1
This seems to be the original issue https://github.com/ReactiveX/rxjs/issues/4070
I solved this by downgrading rxjs and rxjs-compat to 6.2.1 You need to follow steps from issue #4070 https://github.com/ReactiveX/rxjs/issues/4070
on tree.js add Below Line Path for add line : node_modules/ng2-tree/src/tree.js
var Observable_1 = require("rxjs/Rx");