Redux-observable: Can't import modules from 'redux-observable'

Created on 10 Nov 2017  路  3Comments  路  Source: redux-observable/redux-observable

Do you want to request a feature or report a bug?

BUG

What is the current behavior?

Getting an error when I import modules from 'redux-observable':

Imports
import { createEpicMiddleware } from 'redux-observable';
OR
import { combineEpics } from 'redux-observable';

Error

./node_modules/redux-observable/lib/esm/ActionsObservable.js
Module not found: Can't resolve 'rxjs/Observable' in 'C:\wamp64\www\bob-web\notice-cmi\node_modules\redux-observable\lib\esm'

What is the expected behavior?

Just to start an app without import errors

Which versions of redux-observable, and which browser and OS are affected by this issue? Did this work in previous versions of redux-observable?

Version of redux-observable: 0.17.0
Browser: Mozilla Firefox
OS: Windows 8
I don't know, i'm new :)

Most helpful comment

Are you sure you've installed rxjs as well? yarn add rxjs or npm i -S rxjs

All 3 comments

Are you sure you've installed rxjs as well? yarn add rxjs or npm i -S rxjs

I noticed i forgot to install it ...
Thanks for the fast reply :)

Thanks @evertbouw ! 馃

Was this page helpful?
0 / 5 - 0 ratings

Related issues

actra-gschuster picture actra-gschuster  路  5Comments

connected-mgosbee picture connected-mgosbee  路  5Comments

benlesh picture benlesh  路  8Comments

fedbalves picture fedbalves  路  4Comments

ericis picture ericis  路  3Comments