question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

During compilation to AOT appears following error:

Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function...

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:24 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
fulls1z3commented, Nov 18, 2016

Hi, thanks for your report. Successfully identified the source of the issue. It’s all about the path difference between bunded d.ts and metatada.json.

I’ll update the package as 1.2.2 in a few minutes. And then let’s test it together.

0reactions
fulls1z3commented, Nov 23, 2016

I see. I have tested the package using JiT and AoT compilation (using ngc) both with SystemJS and Webpack. However, angular-cli was tested. The Unexpected value '[object Object]' imported by the module 'AppModule' was happening when node_modules directory under ng2-metadata was generated (by editing the package.json within the IDE) and it automatically downloads the dependencies.

In that case, what I can suggest you is to clear the base node_modules directory entirely and let npm downloads all dependencies again. And I’ll need to see the code and the setup in order to make further comments related to your issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support | Attack on Titan Wiki | Fandom
Support (支え Sasae) is the 1st chapter of the 29th volume and the 115th chapter overall of the Attack on Titan manga, ...
Read more >
What Is AOT? - Treatment Advocacy Center
Assisted Outpatient Treatment (AOT) is the practice of providing community-based mental health treatment under civil court commitment, as a means of: (1)
Read more >
Ahead-of-time (AOT) compilation - Angular
The Angular ahead-of-time (AOT) compiler converts your Angular HTML and TypeScript code ... The AOT compiler does not support function expressions and arrow ......
Read more >
Initial AOT support in Spring Framework 6.0.0-M3
Initial AOT support in Spring Framework 6.0.0-M3 ... team has been working on native image support for Spring applications since 2019.
Read more >
Assisted Outpatient Treatment Grant Program for Individuals ...
This 4-year pilot program is intended to implement and evaluate new AOT programs and identify evidence-based practices in order to reduce the incidence...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found