I get "Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol DeclarantModule"
error when trying to compile my app. This happens when a module has forRoot
or StoreModule.provideStore(rootReducer)
function calls.
How to fix it? Why is this happens? I don't understand it I thought it is native angular 2 functions that import modules with configs.