ngrx / store-log-monitor

Log Monitor for @ngrx/store-devtools and Angular
MIT License
63 stars 18 forks source link

Throws errors function calls are not supported while updating to angular 2.4.3 #23

Closed ashish173 closed 7 years ago

ashish173 commented 7 years ago

I updated to angular 2.4.3 latest stable and I am getting errors related to.

ERROR in Error encountered resolving symbol values statically. Calling function 'StoreDevtoolsModule', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function

IMO its mostly this code which is causing the problem.

StoreDevtoolsModule.instrumentStore({
  monitor: useLogMonitor({
     visible: false,
     position: 'right'
   })
})

@brandonroberts @robwormald & @MikeRyan52

brandonroberts commented 7 years ago

You should use the extension instead. See here for instructions: https://github.com/ngrx/store-devtools#instrumentation-with-the-chrome-extension-preferred