René's URL Explorer Experiment


Title: [4.0.0] bug(compiler-cli): Cannot use JitCompiler with AoT · Issue #15510 · angular/angular · GitHub

Open Graph Title: [4.0.0] bug(compiler-cli): Cannot use JitCompiler with AoT · Issue #15510 · angular/angular

X Title: [4.0.0] bug(compiler-cli): Cannot use JitCompiler with AoT · Issue #15510 · angular/angular

Description: Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.

Open Graph Description: Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.

X Description: Deliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.

Opengraph URL: https://github.com/angular/angular

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[4.0.0] bug(compiler-cli): Cannot use JitCompiler with AoT","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION WE MIGHT CLOSE YOUR ISSUE WITHOUT INVESTIGATING\r\n-->\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[x] bug report => search github for a similar issue or PR before submitting\r\n[ ] feature request\r\n[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n```\r\n\r\n**Current behavior**\r\nSince 4.0.0, `JitCompiler` cannot be used with AoT compilation. It's exported from `@angular/compiler` but its compiled import path is `@angular/compiler/src/jit/compiler`\r\n\r\napp.module.ts\r\n\r\n```ts\r\nimport { NgModule, Compiler } from '@angular/core';\r\nimport { JitCompiler } from '@angular/compiler';\r\n\r\nimport { AppComponent } from './app.component';\r\n\r\n@NgModule({\r\n    declarations: [AppComponent],\r\n    bootstrap: [AppComponent],\r\n    providers: [\r\n        {\r\n            provide: Compiler, useExisting: JitCompiler,\r\n        },\r\n    ]\r\n})\r\nexport class AppModule {\r\n}\r\n```\r\n\r\napp.module.ngfactory.ts(summary)\r\n\r\n```ts\r\nimport * as import0 from '@angular/core';\r\nimport * as import1 from './app.module';\r\nimport * as import2 from './app.component.ngfactory';\r\nimport * as import3 from '@angular/compiler/src/jit/compiler';\r\nclass AppModuleInjector extends import0.ɵNgModuleInjector\u003cimport1.AppModule> {\r\n  _AppModule_0:import1.AppModule;\r\n  __Compiler_1:any;\r\n  constructor(parent:import0.Injector) {\r\n    super(parent,[import2.AppComponentNgFactory],[import2.AppComponentNgFactory]);\r\n  }\r\n  get _Compiler_1():any {\r\n    if ((this.__Compiler_1 == null)) { (this.__Compiler_1 = this.parent.get(import3.JitCompiler)); }\r\n    return this.__Compiler_1;\r\n  }\r\n```\r\n\r\n`@angular/compiler/src/jit/compiler` is not existing JS file (because of 4.0.0 FESM). webpack bundling crashes by this problem.\r\n\r\n\r\n**Expected behavior**\r\n\r\nResolve `JitCompiler` from `@angular/compiler`\r\n\r\n**Minimal reproduction of the problem with instructions**\r\n\r\nhttps://github.com/laco0416/ngrepro-0001\r\n\r\n1. git clone\r\n2. npm install\r\n3. npm run ngc\r\n4. see the generated files\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\n\u003c!-- Describe the motivation or the concrete use case -->\r\n\r\n**Please tell us about your environment:**\r\nOSX\r\n\r\n* **Angular version:** 4.0.0\r\n\u003c!-- Check whether this is still an issue in the most recent Angular version -->\r\n \r\n* **Language:** TypeScript 2.2\r\n\r\n* **Node (for AoT issues):** `node --version` =   6.9.5\r\n","author":{"url":"https://github.com/lacolaco","@type":"Person","name":"lacolaco"},"datePublished":"2017-03-27T01:44:38Z","url":"https://github.com/angular/angular/issues/15510"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:32f4f8d9-6de0-3f61-164a-2d8f076ecefa
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE100:213839:EDDB31:132E71E:6B00FCE9
html-safe-noncec40ec4bf9c2e4261558ea3d4b0e1f977bad49bac09854abb707b41acacc19970
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTAwOjIxMzgzOTpFRERCMzE6MTMyRTcxRTo2QjAwRkNFOSIsInZpc2l0b3JfaWQiOiI3NzMyODIwNzk2OTY3NTUwMTg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacad3cdfa3b803da2d4e65fa4e03df18300581c68cd07b9f50ec924a03a97fb7b1
hovercard-subject-tagrepository:24195339
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular/issues/15510
twitter:imagehttps://repository-images.githubusercontent.com/24195339/d4194dc2-d880-43f7-960c-ea30e05c6531
twitter:cardsummary_large_image
og:imagehttps://repository-images.githubusercontent.com/24195339/d4194dc2-d880-43f7-960c-ea30e05c6531
og:image:altDeliver web apps with confidence 🚀. Contribute to angular/angular development by creating an account on GitHub.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonee208d86428ec00a57ade75058166297440e8128a01e5287c31a53dc042bbf187
turbo-cache-controlno-cache
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7dafd017fb7809a839c443dba08622af38e63c09
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/15510#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F15510
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F15510
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/15510
Reloadhttps://github.com/angular/angular/issues/15510
Reloadhttps://github.com/angular/angular/issues/15510
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/15510
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/15510
[4.0.0] bug(compiler-cli): Cannot use JitCompiler with AoThttps://github.com/angular/angular/issues/15510#top
P5The team acknowledges the request but does not plan to address it, it remains open for discussionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P5%22
area: compilerIssues related to `ngc`, Angular's template compilerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20compiler%22
freq1: lowhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq1%3A%20low%22
type: use-casehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20use-case%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/lacolaco
lacolacohttps://github.com/lacolaco
on Mar 27, 2017https://github.com/angular/angular/issues/15510#issue-217114580
https://github.com/laco0416/ngrepro-0001https://github.com/laco0416/ngrepro-0001
Nexthttps://github.com/angular/angular/issues/15510?timeline_page=1
https://github.com/Toxicable
Toxicablehttps://github.com/Toxicable
on Mar 27, 2017https://github.com/angular/angular/issues/15510#issuecomment-289336043
IgorMinarhttps://github.com/IgorMinar
area: coreIssues related to the framework runtimehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20core%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
on Mar 29, 2017https://github.com/angular/angular/issues/15510#event-1019923105
https://github.com/Paladinium
Paladiniumhttps://github.com/Paladinium
on Apr 15, 2017https://github.com/angular/angular/issues/15510#issuecomment-294291908
https://github.com/Paladinium
Paladiniumhttps://github.com/Paladinium
on Apr 15, 2017https://github.com/angular/angular/issues/15510#issuecomment-294301758
https://github.com/Paladinium
Paladiniumhttps://github.com/Paladinium
on Apr 18, 2017https://github.com/angular/angular/issues/15510#issuecomment-294853589
http://www.themonkeythemes.com/blog_backoffice/create-components-at-runtime-with-angularhttp://www.themonkeythemes.com/blog_backoffice/create-components-at-runtime-with-angular
https://github.com/Paladinium
Paladiniumhttps://github.com/Paladinium
on Apr 18, 2017https://github.com/angular/angular/issues/15510#issuecomment-294860905
https://github.com/Paladinium
Paladiniumhttps://github.com/Paladinium
on Apr 18, 2017https://github.com/angular/angular/issues/15510#issuecomment-294868599
https://github.com/maxbellec
maxbellechttps://github.com/maxbellec
on Apr 18, 2017https://github.com/angular/angular/issues/15510#issuecomment-294869502
@Paladiniumhttps://github.com/Paladinium
https://github.com/alxhub
alxhubhttps://github.com/alxhub
on May 28, 2020https://github.com/angular/angular/issues/15510#issuecomment-635544798
#37216https://github.com/angular/angular/issues/37216
https://github.com/maxtacco
maxtaccohttps://github.com/maxtacco
on May 28, 2020https://github.com/angular/angular/issues/15510#issuecomment-635547752
@alxhubhttps://github.com/alxhub
https://github.com/mehtadhaval
mehtadhavalhttps://github.com/mehtadhaval
on Jul 23, 2020https://github.com/angular/angular/issues/15510#issuecomment-662939458
@alxhubhttps://github.com/alxhub
petebacondarwinhttps://github.com/petebacondarwin
state: WIPhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20WIP%22
on Sep 22, 2020https://github.com/angular/angular/issues/15510#event-3791878668
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
Backloghttps://github.com/angular/angular/milestone/82
on Sep 22, 2020https://github.com/angular/angular/issues/15510#event-3791878726
petebacondarwinhttps://github.com/petebacondarwin
state: WIPhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22state%3A%20WIP%22
on Sep 22, 2020https://github.com/angular/angular/issues/15510#event-3791881114
jelbournhttps://github.com/jelbourn
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
P5The team acknowledges the request but does not plan to address it, it remains open for discussionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P5%22
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P3%22
severity3: brokenhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
on Oct 1, 2020https://github.com/angular/angular/issues/15510#event-3830251043
https://github.com/alan-agius4
alan-agius4https://github.com/alan-agius4
on Nov 10, 2020https://github.com/angular/angular/issues/15510#issuecomment-724534902
#39624https://github.com/angular/angular/issues/39624
alan-agius4https://github.com/alan-agius4
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 10, 2020https://github.com/angular/angular/issues/15510#event-3977543800
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Dec 11, 2020https://github.com/angular/angular/issues/15510#issuecomment-743295086
automatic conversation locking policyhttps://github.com/angular/angular/blob/8f24bc9443b3872fe095d9f7f77b308a361a13b4/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Dec 11, 2020https://github.com/angular/angular/issues/15510#event-4101237246
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/15510
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/15510
P5The team acknowledges the request but does not plan to address it, it remains open for discussionhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22P5%22
area: compilerIssues related to `ngc`, Angular's template compilerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20compiler%22
freq1: lowhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq1%3A%20low%22
type: use-casehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20use-case%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.