0
我加減速到我的angular2項目是這樣的:angular2 NGRX,同時部署錯誤GitHub上的頁面
const rootReducer = compose(storeLogger(), combineReducers)({
toolbar: toolbarReducer
});
imports: [
...,
StoreModule.provideStore(rootReducer)
],
它工作正常,但是當我嘗試將其部署到GitHub上的頁面
ng github-pages:deploy
然後我結束了以下錯誤:
ERROR in Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function (position 12:42 in the original .ts file), resolving symbol compose in /Users/gkucmierz/learn/coin-tools/node_modules/@ngrx/core/compose.d.ts, resolving symbol AppModule in /Users/gkucmierz/learn/coin-tools/src/app/app.module.ts, resolving symbol AppModule in /Users/gkucmierz/learn/coin-tools/src/app/app.module.ts, resolving symbol AppModule in /Users/gkucmierz/learn/coin-tools/src/app/app.module.ts, resolving symbol AppModule in /Users/gkucmierz/learn/coin-tools/src/app/app.module.ts, resolving symbol AppModule in /Users/gkucmierz/learn/coin-tools/src/app/app.module.ts
我在做什麼錯?