Title: Angular2 AoT Compiler Errors · Issue #11262 · angular/angular · GitHub
Open Graph Title: Angular2 AoT Compiler Errors · Issue #11262 · angular/angular
X Title: Angular2 AoT Compiler Errors · Issue #11262 · angular/angular
Description: When I try to compile my project with ngc, it throws the below error: Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exporte...
Open Graph Description: When I try to compile my project with ngc, it throws the below error: Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function ...
X Description: When I try to compile my project with ngc, it throws the below error: Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function ...
Opengraph URL: https://github.com/angular/angular/issues/11262
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular2 AoT Compiler Errors","articleBody":"When I try to compile my project with ngc, it throws the below error:\n\n`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 (position 92:25 in the original .ts file), resolving symbol AppModule in`\n\nIn my App Module I have the below providers and probably this is causing the project. I am not sure what exactly is wrong with this?\n\n```\nproviders: [\n GlobalService,\n {\n provide: Http,\n useFactory: (backend: XHRBackend, defaultOptions: RequestOptions, globalService: GlobalService) => new HttpLoading(backend, defaultOptions, globalService),\n deps: [XHRBackend, RequestOptions, GlobalService]\n }\n ],\n```\n","author":{"url":"https://github.com/naveedahmed1","@type":"Person","name":"naveedahmed1"},"datePublished":"2016-09-02T01:45:59Z","url":"https://github.com/angular/angular/issues/11262"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ef03c7de-9da9-c1f9-4b83-9029558f8ec9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C126:2E7EBB:2F74975:3C13605:6B01BA43 |
| html-safe-nonce | 0d92dc74850b29bd5c6f2a6852e36eeea8278d032c390cb08ea9242206fecc7c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTI2OjJFN0VCQjoyRjc0OTc1OjNDMTM2MDU6NkIwMUJBNDMiLCJ2aXNpdG9yX2lkIjoiODMzNzgxMzEyODY4NzQ5OTg0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f5d777042e85632f37a8c962f37126b1c6d14a3ba96ff1e82dc1ec98fca902a5 |
| hovercard-subject-tag | issue:174663524 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/11262/issue_layout |
| twitter:image | https://opengraph.githubassets.com/78754775a2d2ec418ce671fa4089a57bd7729f33af2efd14a52ea9d7e956ee0b/angular/angular/issues/11262 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/78754775a2d2ec418ce671fa4089a57bd7729f33af2efd14a52ea9d7e956ee0b/angular/angular/issues/11262 |
| og:image:alt | When I try to compile my project with ngc, it throws the below error: Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | naveedahmed1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width