I'm following this tutorial for RxJS but When I get to the part of setting up env, I get an error message when doing
$yarn run start
import * as Rx from "rxjs/Observable";
console.log(Rx);
if I leave the log without the "Rx", it shows fine. But if I use the log... I get this error:
ERROR in ./node_modules/rxjs/Observable.js Module not found: Error: Can't resolve 'rxjs-compat/Observable' in '/Users/manuel/Documents/testeos/JS/rxjs/node_modules/rxjs' @ ./node_modules/rxjs/Observable.js 6:9-42 @ ./src/code.ts @ multi (webpack)-dev-server/client?http://localhost:8080 ./src/code.ts
rxjs-compatmodule -yarn add rxjs-compat? - m1ch4ls