That's driving me nuts. I am using angular2-quickstart as a starter project. I just added @ngrx/store, @ngrx/core and @ngrx/effects to the project. Now I am getting the error in the title. I don't know how to track the error down as I'm not getting a descriptive error:
(anonymous function) @ (index):18
ZoneDelegate.invoke @ zone.js:192
Zone.run @ zone.js:85
(anonymous function) @ zone.js:451
ZoneDelegate.invokeTask @ zone.js:225
Zone.runTask @ zone.js:125
drainMicroTaskQueue @ zone.js:357
ZoneTask.invoke @ zone.js:297
Any ideas or references about resolving the cryptic errors SystemJS raises?
My project just ran into the same thing. It would appear that @ngrx/core and @ngrx/store started using ES7 "export" statements in their javascript. These are not supported in any browser right now, and require a transpiler to work.
So, in order to restore your functionality, the first thing to do is to change your package.json to use an old, working version of @ngrx/*. This is of course not a long term solution, so in the long term, the options are one of the following: