When I try to deploy my Ionic 2 application to my android device I get the following error:
Error: 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 reducers in /Users/ibnclaudius/Development/egglr/egglr-mobile/.tmp/reducers/index.ts, resolving symbol AppModule in /Users/ibnclaudius/Development/egglr/egglr-mobile/.tmp/app/app.module.ts, resolving symbol AppModule in /Users/ibnclaudius/Development/egglr/egglr-mobile/.tmp/app/app.module.ts
index.ts (the part of the code that is giving error)
import { compose } from '@ngrx/core/compose';
export const reducers = compose(storeLogger(), combineReducers)({
events: fromEvents.eventsReducer,
subscriptions: fromSubscriptions.subscriptionsReducer
});