Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with NgReduxModule in an Ionic 2 rc0 project #232

Closed
danielcrk-cn opened this issue Oct 12, 2016 · 4 comments
Closed

Problem with NgReduxModule in an Ionic 2 rc0 project #232

danielcrk-cn opened this issue Oct 12, 2016 · 4 comments

Comments

@danielcrk-cn
Copy link

danielcrk-cn commented Oct 12, 2016

Hi,

This might not be an issue with ng2-redux as much as me doing something wrong, but here goes:

In app.module.ts, as soon as i import { NgReduxModule, NgRedux } from 'ng2-redux'; and add NgReduxModule to imports, the app fails on startup with the error Uncaught ReferenceError: module is not defined in an node module called symbol-observables.

Does anyone have a clue what I might be doing wrong?

Edit: I'm using the latest ng2-redux beta.

@SethDavenport
Copy link
Member

This may be related to #228

@duydao
Copy link

duydao commented Oct 12, 2016

@danielcrk-cn The easiest way to get it up and running in ionic is to add the --dev param to the build script. See ionic-team/ionic-cli#1504

@e-schultz
Copy link
Member

Just published a new beta.

Slight change with how you import the module, now should do NgReduxModule.forRoot,

change-log details

@SethDavenport
Copy link
Member

This should be fixed in 4.0.0-beta.7. Closing issue; feel free to reopen it if you still have issues with the new version of ng2-redux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants