5

enter image description here

How should I resolve this error:

ERROR in node_modules/@ngrx/store/src/ng2.d.ts(1,10): error TS2305: Module '"C:/Users/sandr/Desktop/wzór — kopia/node_modules/@angular/core/core"' has no exported member 'OpaqueToken'

It's happened when I try to join (@import) anything with @ngrx.

Omar Einea
  • 2,478
  • 7
  • 23
  • 35
Sacz
  • 51
  • 1
  • 3
  • You're using a version of ngrx that is not compatible with the version of Angular that you're using. – JB Nizet Jan 21 '18 at 15:43
  • 3
    this can be fixed by installing latest version of ngrx, `npm install ngrx@latest --save`, because yes in package.json the version of ngrx you have been used, its not compatible with version of angular. – Vinod Feb 22 '18 at 10:54
  • @Vinod you saved my life - thank you – CSSBurner Apr 08 '20 at 21:33

0 Answers0