Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
1 task done
westandy-dcp opened this issue Jan 24, 2019 · 0 comments

Comments

@westandy-dcp
Copy link

westandy-dcp commented Jan 24, 2019

This is a...

Bug or Mis-usage

What toolchain are you using for transpilation/bundling?

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant