-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webpack Compilation Error - Function calls are not supported #8
Comments
I was able to backout the compose/store-freeze functionality in reducer.ts and compiled successfully. //import {compose} from "@ngrx/core/compose"; export const reducer = Obviously, that's not the real solution. How can we get this functionality to work? |
Without changing any code a recompile failed. This time on combineReducers. (see above) |
In src\app\reducer.ts Try replacing:
|
Many thanks Alucardz. |
I've tried uninstalling/reinstalling ngrx/core and angularfire2 without success.
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 C:/Users/Jack/Documents/ang2/ngrx-course-master/node_modules/@ngrx/core/compose.d.ts,
resolving symbol reducer in C:/Users/Jack/Documents/ang2/ngrx-course-master/src/app/reducer.ts,
resolving symbol reducer in C:/Users/Jack/Documents/ang2/ngrx-course-master/src/app/reducer.ts,
resolving symbol reducer in C:/Users/Jack/Documents/ang2/ngrx-course-master/src/app/reducer.ts,
resolving symbol AppModule in C:/Users/Jack/Documents/ang2/ngrx-course-master/src/app/app.module.ts,
resolving symbol AppModule in C:/Users/Jack/Documents/ang2/ngrx-course-master/src/app/app.module.ts,
resolving symbol AppModule in C:/Users/Jack/Documents/ang2/ngrx-course-master/src/app/app.module.ts
webpack: Failed to compile.
angular/cli: 1.0.0
node: 8.0.0
os: win32 x64
angular/common: 4.2.4
angular/compiler: 4.2.4
angular/core: 4.2.4
angular/forms: 4.2.4
angular/http: 4.2.4
angular/platform-browser: 4.2.4
angular/platform-browser-dynamic: 4.2.4
angular/router: 4.2.4
angular/cli: 1.0.0
angular/compiler-cli: 4.2.4
The text was updated successfully, but these errors were encountered: