René's URL Explorer Experiment


Title: V8.0.0 : loadChildren library module failed : "Error: Runtime compiler is not loaded" on AOT mode · Issue #14700 · angular/angular-cli · GitHub

Open Graph Title: V8.0.0 : loadChildren library module failed : "Error: Runtime compiler is not loaded" on AOT mode · Issue #14700 · angular/angular-cli

X Title: V8.0.0 : loadChildren library module failed : "Error: Runtime compiler is not loaded" on AOT mode · Issue #14700 · angular/angular-cli

Description: 🐞 bug report Affected Package The issue is caused by package @angular/compiler and/or @angular/core and/or @angular/router Is this a regression? Yes, the previous version in which this bug was not present was: 7.2.1 Description I try to ...

Open Graph Description: 🐞 bug report Affected Package The issue is caused by package @angular/compiler and/or @angular/core and/or @angular/router Is this a regression? Yes, the previous version in which this bug was not ...

X Description: 🐞 bug report Affected Package The issue is caused by package @angular/compiler and/or @angular/core and/or @angular/router Is this a regression? Yes, the previous version in which this bug was not ...

Opengraph URL: https://github.com/angular/angular-cli/issues/14700

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"V8.0.0 : loadChildren library module failed : \"Error: Runtime compiler is not loaded\" on AOT mode","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\nThe issue is caused by package @angular/compiler and/or @angular/core and/or @angular/router\r\n\r\n### Is this a regression?\r\nYes, the previous version in which this bug was not present was: 7.2.1\r\n\r\n### Description\r\nI try to load a project library (named shell) as a route \"loadChildren\", with 2 différents option : \r\n- loadChildren: () => import('shell').then(m => m.ProfileModule)\r\n- loadChildren: () => ProfileModule\r\n\r\nThis 2 ways work correctly on dev mode, but failed on AOT builded mode with an error message. And the route is not loaded.\r\n\r\n\r\n## 🔬 Minimal Reproduction\r\n\r\n### ProfileModule (as an angular library named \"shell\" on the CLI project) : \r\n``` javascript\r\nimport { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatCardModule } from '@angular/material/card';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { MatListModule } from '@angular/material/list';\r\nimport { FlexLayoutModule } from '@angular/flex-layout';\r\n\r\nimport { ProfileComponent } from './profile/profile.component';\r\nimport { TranslateModule } from '../translate/translate.module';\r\nimport { GhostModule } from '../ghost/ghost.module';\r\nimport { DataModule } from '../data/data.module';\r\nimport { ProfileRoutingModule } from './profile-routing.module';\r\nimport { ProfileCardComponent } from './profile-card/profile-card.component';\r\n\r\n@NgModule({\r\n  declarations: [\r\n    ProfileComponent,\r\n    ProfileCardComponent\r\n  ],\r\n  imports: [\r\n    CommonModule,\r\n    MatCardModule,\r\n    MatListModule,\r\n    MatButtonModule,\r\n    MatIconModule,\r\n    TranslateModule,\r\n    FlexLayoutModule,\r\n    GhostModule,\r\n    DataModule,\r\n    ProfileRoutingModule\r\n  ],\r\n  exports: [\r\n    ProfileCardComponent\r\n  ]\r\n})\r\nexport class ProfileModule { }\r\n\r\n```\r\n\r\n### AppRoutingModule (as an angular project from the same CLI project)\r\n``` javascript\r\nimport { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\n\r\nimport { SecureGuard } from 'shell';\r\n\r\nimport { HomeComponent } from './home/home.component';\r\n\r\nexport function loadProfile() {\r\n  return import('shell').then(m => m.ProfileModule);\r\n}\r\n\r\nconst routes: Routes = [{\r\n  path: '',\r\n  canActivate: [SecureGuard],\r\n  children: [{\r\n    path: '',\r\n    component: HomeComponent\r\n  }, {\r\n    path: 'profile',\r\n    loadChildren: loadProfile // Here the error at runtime, the error message appear when I go to /profile\r\n  }, {\r\n    path: '**',\r\n    component: HomeComponent\r\n  }]\r\n}];\r\n\r\n@NgModule({\r\n  imports: [RouterModule.forRoot(routes)],\r\n  exports: [RouterModule]\r\n})\r\nexport class AppRoutingModule { }\r\n\r\n```\r\n\r\n## 🔥 Exception or Error\r\n\u003cpre>\u003ccode>\r\nUncaught Error: Uncaught (in promise): Error: Runtime compiler is not loaded\r\nError: Runtime compiler is not loaded\r\n    at e.Jr (main.41ff3398f5c3f189c836.js:1)\r\n    at t.project (main.41ff3398f5c3f189c836.js:1)\r\n    at t._tryNext (main.41ff3398f5c3f189c836.js:1)\r\n    at t._next (main.41ff3398f5c3f189c836.js:1)\r\n    at t.next (main.41ff3398f5c3f189c836.js:1)\r\n    at e._subscribe (main.41ff3398f5c3f189c836.js:1)\r\n    at e._trySubscribe (main.41ff3398f5c3f189c836.js:1)\r\n    at e.subscribe (main.41ff3398f5c3f189c836.js:1)\r\n    at e.call (main.41ff3398f5c3f189c836.js:1)\r\n    at e.subscribe (main.41ff3398f5c3f189c836.js:1)\r\n    at Z (polyfills.06b93379260cc1d8e708.js:1)\r\n    at Z (polyfills.06b93379260cc1d8e708.js:1)\r\n    at polyfills.06b93379260cc1d8e708.js:1\r\n    at e.invokeTask (polyfills.06b93379260cc1d8e708.js:1)\r\n    at Object.onInvokeTask (main.41ff3398f5c3f189c836.js:1)\r\n    at e.invokeTask (polyfills.06b93379260cc1d8e708.js:1)\r\n    at t.runTask (polyfills.06b93379260cc1d8e708.js:1)\r\n    at g (polyfills.06b93379260cc1d8e708.js:1)\r\n    at t.invokeTask [as invoke] (polyfills.06b93379260cc1d8e708.js:1)\r\n    at m (polyfills.06b93379260cc1d8e708.js:1)\r\n\u003c/code>\u003c/pre>\r\n\r\n\r\n## 🌍  Your Environment\r\n\r\n**Angular Version:**\r\n\u003cpre>\u003ccode>\r\nAngular CLI: 8.0.1\r\nNode: 12.4.0\r\nOS: darwin x64\r\nAngular: 8.0.0\r\n... animations, cdk, common, compiler, compiler-cli, core, forms\r\n... language-service, material, material-moment-adapter\r\n... platform-browser, platform-browser-dynamic, router\r\n... service-worker\r\n\r\nPackage                            Version\r\n------------------------------------------------------------\r\n@angular-devkit/architect          0.800.1\r\n@angular-devkit/build-angular      0.800.1\r\n@angular-devkit/build-ng-packagr   0.800.1\r\n@angular-devkit/build-optimizer    0.800.1\r\n@angular-devkit/build-webpack      0.800.1\r\n@angular-devkit/core               8.0.1\r\n@angular-devkit/schematics         8.0.1\r\n@angular/cli                       8.0.1\r\n@angular/flex-layout               8.0.0-beta.26\r\n@angular/pwa                       0.800.1\r\n@ngtools/json-schema               1.1.0\r\n@ngtools/webpack                   8.0.1\r\n@schematics/angular                8.0.1\r\n@schematics/update                 0.800.1\r\nng-packagr                         5.2.0\r\nrxjs                               6.5.2\r\ntypescript                         3.4.5\r\nwebpack                            4.30.0\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\nI try to use on different CLI projects a Profile module from a CLI library (all on the same CLI project). This is not possible since angular 8.0.0\r\n","author":{"url":"https://github.com/robinComa","@type":"Person","name":"robinComa"},"datePublished":"2019-06-07T11:00:18Z","url":"https://github.com/angular/angular-cli/issues/14700"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:db612a97-98fc-ba64-afe9-6b9cd7ef9c7b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEB60:B1B84:D0E93C:1089287:6B013B3F
html-safe-nonce2059b9e1d29a38fc23228ea8af1d0d2928cbb5eaf40097e650c237944e6943be
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjYwOkIxQjg0OkQwRTkzQzoxMDg5Mjg3OjZCMDEzQjNGIiwidmlzaXRvcl9pZCI6IjE4OTY3MzQ3NzQ2MzA4OTAzMDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7a1fcfd9b738bc56fc5a323e9587d7fc09a24aa15e2939d20f102b02f55715ea
hovercard-subject-tagissue:453456554
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/14700/issue_layout
twitter:imagehttps://opengraph.githubassets.com/04016946e48a01713466f7f0e5e359345404ed91df7313362d4a9f27d9e84c98/angular/angular-cli/issues/14700
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/04016946e48a01713466f7f0e5e359345404ed91df7313362d4a9f27d9e84c98/angular/angular-cli/issues/14700
og:image:alt🐞 bug report Affected Package The issue is caused by package @angular/compiler and/or @angular/core and/or @angular/router Is this a regression? Yes, the previous version in which this bug was not ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerobinComa
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/angular/angular-cli git https://github.com/angular/angular-cli.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id36891867
octolytics-dimension-repository_nwoangular/angular-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36891867
octolytics-dimension-repository_network_root_nwoangular/angular-cli
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/14700#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F14700
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-cli%2Fissues%2F14700
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular-cli
Reloadhttps://github.com/angular/angular-cli/issues/14700
Reloadhttps://github.com/angular/angular-cli/issues/14700
Reloadhttps://github.com/angular/angular-cli/issues/14700
angularhttps://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Codehttps://github.com/angular/angular-cli
Issues198 (198)https://github.com/angular/angular-cli/issues
Pull requests23 (23)https://github.com/angular/angular-cli/pulls
Actionshttps://github.com/angular/angular-cli/actions
Security and quality8 (8)https://github.com/angular/angular-cli/security
Insightshttps://github.com/angular/angular-cli/insights
https://github.com/angular/angular-cli
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/14700
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/14700
V8.0.0 : loadChildren library module failed : "Error: Runtime compiler is not loaded" on AOT modehttps://github.com/angular/angular-cli/issues/14700#top
https://github.com/robinComa
robinComahttps://github.com/robinComa
on Jun 7, 2019https://github.com/angular/angular-cli/issues/14700#issue-453456554
https://github.com/robinComa
robinComahttps://github.com/robinComa
on Jun 7, 2019https://github.com/angular/angular-cli/issues/14700#issuecomment-499844314
https://github.com/angular/angular/issues/30905https://github.com/angular/angular/issues/30905
https://github.com/alan-agius4
alan-agius4https://github.com/alan-agius4
on Jun 7, 2019https://github.com/angular/angular-cli/issues/14700#issuecomment-499861788
#6373 (comment)https://github.com/angular/angular-cli/issues/6373#issuecomment-453006158
alan-agius4https://github.com/alan-agius4
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 7, 2019https://github.com/angular/angular-cli/issues/14700#event-2397091722
https://github.com/robinComa
robinComahttps://github.com/robinComa
on Jun 7, 2019https://github.com/angular/angular-cli/issues/14700#issuecomment-499864878
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 9, 2019https://github.com/angular/angular-cli/issues/14700#issuecomment-529539045
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 9, 2019https://github.com/angular/angular-cli/issues/14700#event-2619191427
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/14700
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/14700
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.