Closed
Description
openedon Feb 16, 2017
I just pulled the new MapStore2-2017.01.00 and created a new project using createProject.js.
When I run npm install && npm run compile, webpack throws two errors:
ERROR in ./MapStore2/web/client/stores/StandardStore.js
Module not found: Error: Cannot resolve module 'redux-observable' in C:\somePath\myProject\MapStore2\web\client\stores
@ ./MapStore2/web/client/stores/StandardStore.js 40:16-43
ERROR in ./MapStore2/web/client/utils/PluginsUtils.js
Module not found: Error: Cannot resolve module 'redux-observable' in C:\somePath\myProject\MapStore2\web\client\utils
@ ./MapStore2/web/client/utils/PluginsUtils.js 29:16-43
After npm install --save
solves the problem locally.
EDIT: npm install 'redux-observable' --save
solves the problem locally.
After running npm run compile again, I get the following errors:
ERROR in ./~/redux-observable/lib/createEpicMiddleware.js
Module not found: Error: Cannot resolve module 'rxjs/Subject' in C:\somePath\myProject\MapStore2node_modules\redux-observable\lib
@ ./~/redux-observable/lib/createEpicMiddleware.js 8:15-38
ERROR in ./~/redux-observable/lib/createEpicMiddleware.js
Module not found: Error: Cannot resolve module 'rxjs/operator/map' in C:\somePath\myProject\MapStore2node_modules\redux-observable\lib
@ ./~/redux-observable/lib/createEpicMiddleware.js 10:11-39
ERROR in ./~/redux-observable/lib/createEpicMiddleware.js
Module not found: Error: Cannot resolve module 'rxjs/operator/switchMap' in C:\somePath\myProject\MapStore2node_modules\redux-observable\lib
@ ./~/redux-observable/lib/createEpicMiddleware.js 12:17-51
ERROR in ./~/redux-observable/lib/ActionsObservable.js
Module not found: Error: Cannot resolve module 'rxjs/Observable' in C:\somePath\myProject\MapStore2node_modules\redux-observable\lib
@ ./~/redux-observable/lib/ActionsObservable.js 10:19-45
ERROR in ./~/redux-observable/lib/ActionsObservable.js
Module not found: Error: Cannot resolve module 'rxjs/observable/of' in C:\somePath\myProject\MapStore2node_modules\redux-observable\lib
@ ./~/redux-observable/lib/ActionsObservable.js 12:11-40
ERROR in ./~/redux-observable/lib/ActionsObservable.js
Module not found: Error: Cannot resolve module 'rxjs/observable/from' in C:\somePath\myProject\MapStore2node_modules\redux-observable\lib
@ ./~/redux-observable/lib/ActionsObservable.js 14:13-44
ERROR in ./~/redux-observable/lib/ActionsObservable.js
Module not found: Error: Cannot resolve module 'rxjs/operator/filter' in C:\somePath\myProject\MapStore2node_modules\redux-observable\lib
@ ./~/redux-observable/lib/ActionsObservable.js 16:14-45
ERROR in ./~/redux-observable/lib/combineEpics.js
Module not found: Error: Cannot resolve module 'rxjs/observable/merge' in C:\somePath\myProject\MapStore2node_modules\redux-observable\lib
@ ./~/redux-observable/lib/combineEpics.js 8:13-45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels