angular-redux / store

Angular 2+ bindings for Redux
MIT License
1.34k stars 205 forks source link

Metadata collected contains an error that will be reported at runtime: Lambda not supported. #552

Open westandy-dcp opened 5 years ago

westandy-dcp commented 5 years ago

This is a...

Bug or Mis-usage

What toolchain are you using for transpilation/bundling?

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':