M
M
Mariik2018-04-24 10:52:16
JavaScript
Mariik, 2018-04-24 10:52:16

What version of NgRx Effects is compatible with Angular 5.2?

Hello. As soon as I try to use NgRx.Effects, the angular is immediately cached with this error:

ERROR in node_modules/@ngrx/effects/src/bootstrap-listener.d.ts(1,20): error TS2305: Module '"D:/storeApp/node_modules/@angular/core/core"' has no exported member 'Op
aqueToken'.
node_modules/@ngrx/effects/src/effects-subscription.d.ts(1,10): error TS2305: Module '"D:/storeApp/node_modules/@angular/core/core"' has no exported member 'OpaqueTok
en'.
node_modules/@ngrx/effects/src/effects.module.d.ts(1,16): error TS2305: Module '"D:/storeApp/node_modules/@angular/core/core"' has no exported member 'OpaqueToken'.

And this is even before using it.... Falls into an error immediately after: I don't even have time to include the EffectsModule in the Imports section, I only import the module as soon as I get errors
import { EffectsModule} from '@ngrx/effects';

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
bromzh, 2018-04-24
@Mariik

In my project:

"@angular/core": "^5.2.0",
...
"@ngrx/effects": "^5.2.0",

And everything works.

C
Coder321, 2018-04-24
@Coder321

Taking into account the fact that the last turnip update was half a year ago, I think that the library does not support Angular 5.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question