store
store copied to clipboard
Metadata collected contains an error that will be reported at runtime: Lambda not supported.
This is a...
Bug or Mis-usage
What toolchain are you using for transpilation/bundling?
- [x] @angular/cli
Environment
NodeJS Version: Typescript Version: Angular Version: @angular-redux/store version: @angular/cli version: (if applicable) OS:
Expected Behaviour:
selected(state => state.value) value:SomeDataStructure;
Should auto populate this.value
in the component from the Redux state
Actual Behaviour:
Using selected(state => state.value)
in my Angular 7 component gives me this error.
Stack Trace/Error Message:
BUILD ERROR /Users/andy/repos/gas-scheduling/packages/frontend/projects/gas-scheduling/src/components/first-of-month/first-of-month.component.ts:10:1: Error encountered in metadata generated for exported symbol 'FirstOfMonthComponent': /Users/andy/repos/gas-scheduling/packages/frontend/projects/gas-scheduling/src/components/first-of-month/first-of-month.component.ts:16:11: Metadata collected contains an error that will be reported at runtime: Lambda not supported. {"__symbolic":"error","message":"Lambda not supported","line":15,"character":10} Error: /Users/andy/repos/gas-scheduling/packages/frontend/projects/gas-scheduling/src/components/first-of-month/first-of-month.component.ts:10:1: Error encountered in metadata generated for exported symbol 'FirstOfMonthComponent':