René's URL Explorer Experiment


Title: Angular5.x lazyLoad problem, undefined is not a function · Issue #23412 · angular/angular · GitHub

Open Graph Title: Angular5.x lazyLoad problem, undefined is not a function · Issue #23412 · angular/angular

X Title: Angular5.x lazyLoad problem, undefined is not a function · Issue #23412 · angular/angular

Description: when I update the angular version form 4.x to 5.x, tell me the error: core.js:1449 ERROR Error: Uncaught (in promise): TypeError: undefined is not a function TypeError: undefined is not a function at Array.map () at webpackAsyncContext (...

Open Graph Description: when I update the angular version form 4.x to 5.x, tell me the error: core.js:1449 ERROR Error: Uncaught (in promise): TypeError: undefined is not a function TypeError: undefined is not a function ...

X Description: when I update the angular version form 4.x to 5.x, tell me the error: core.js:1449 ERROR Error: Uncaught (in promise): TypeError: undefined is not a function TypeError: undefined is not a function ...

Mail addresses
dynaphoneimages@hotmail.com

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular5.x lazyLoad problem, undefined is not a function","articleBody":"when I update the angular version form 4.x to 5.x, tell me the error:\r\n\u003cpre>\r\ncore.js:1449 ERROR Error: Uncaught (in promise): TypeError: undefined is not a function\r\nTypeError: undefined is not a function\r\n    at Array.map (\u003canonymous>)\r\n    at webpackAsyncContext (eval at ./src/$$_lazy_route_resource lazy recursive (main.bundle.js:formatted:17), \u003canonymous>:657:34)\r\n    at SystemJsNgModuleLoader.loadAndCompile (core.js:6570)\r\n    at SystemJsNgModuleLoader.load (core.js:6554)\r\n    at RouterConfigLoader.loadModuleFactory (router.js:4595)\r\n    at RouterConfigLoader.load (router.js:4575)\r\n    at MergeMapSubscriber.eval [as project] (router.js:2061)\r\n    at MergeMapSubscriber._tryNext (mergeMap.js:128)\r\n    at MergeMapSubscriber._next (mergeMap.js:118)\r\n    at MergeMapSubscriber.Subscriber.next (Subscriber.js:95)\r\n    at Array.map (\u003canonymous>)\r\n    at webpackAsyncContext (eval at ./src/$$_lazy_route_resource lazy recursive (main.bundle.js:formatted:17), \u003canonymous>:657:34)\r\n    at SystemJsNgModuleLoader.loadAndCompile (core.js:6570)\r\n    at SystemJsNgModuleLoader.load (core.js:6554)\r\n    at RouterConfigLoader.loadModuleFactory (router.js:4595)\r\n    at RouterConfigLoader.load (router.js:4575)\r\n    at MergeMapSubscriber.eval [as project] (router.js:2061)\r\n    at MergeMapSubscriber._tryNext (mergeMap.js:128)\r\n    at MergeMapSubscriber._next (mergeMap.js:118)\r\n    at MergeMapSubscriber.Subscriber.next (Subscriber.js:95)\r\n    at resolvePromise (zone.js:814)\r\n    at resolvePromise (zone.js:771)\r\n    at eval (zone.js:873)\r\n    at ZoneDelegate.invokeTask (zone.js:421)\r\n    at Object.onInvokeTask (core.js:4751)\r\n    at ZoneDelegate.invokeTask (zone.js:420)\r\n    at Zone.runTask (zone.js:188)\r\n    at drainMicroTaskQueue (zone.js:595)\r\n    at \u003canonymous>\r\n\u003c/pre>\r\nmy code: \r\n\u003cpre>\r\nimport {ModuleWithProviders} from '@angular/core';\r\nimport {Routes, RouterModule} from '@angular/router';\r\nimport {RbacService} from './rbac/rbac.service';\r\nconst routes: Routes = [\r\n  {\r\n    path: '',\r\n    redirectTo: '/page/index/main',\r\n    pathMatch: 'full'\r\n  },\r\n  {\r\n    path: 'page',\r\n    component: MitLayoutComponent,\r\n    canActivate: [RbacService],\r\n    children: [\r\n      {path: 'index', \r\n      loadChildren: 'app/modules/index/index.module#IndexModule', \r\n     canActivate: [RbacService]}, \r\n    ];\r\n   export const AppRoutes: ModuleWithProviders = RouterModule.forRoot(routes, {useHash: true});\r\n\u003c/pre>\r\n\u003cpre>\r\nAngular CLI: 1.7.4\r\nNode: 8.9.4\r\nOS: win32 x64\r\nAngular: 5.2.10\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, platform-browser, platform-browser-dynamic, router\r\n\r\n@angular/cli: 1.7.4\r\n@angular-devkit/build-optimizer: 0.3.2\r\n@angular-devkit/core: 0.4.9\r\n@angular-devkit/schematics: 0.3.2\r\n@ngtools/json-schema: 1.2.0\r\n@ngtools/webpack: 1.10.2\r\n@schematics/angular: 0.3.2\r\n@schematics/package-update: 0.3.2\r\ntypescript: 2.4.2\r\nwebpack: 3.11.0\r\n\u003c/pre>\r\n","author":{"url":"https://github.com/liugang1988","@type":"Person","name":"liugang1988"},"datePublished":"2018-04-17T09:32:39Z","url":"https://github.com/angular/angular/issues/23412"}

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:e12b3741-9003-5da0-3a30-922b72980e94
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDA6C:27E5CD:16A9D35:1D18FAC:6B01294E
html-safe-nonce7f726aed94c25b4da6e45cf796f8310ab9bdbebc50f02cdf2350613d819d5897
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTZDOjI3RTVDRDoxNkE5RDM1OjFEMThGQUM6NkIwMTI5NEUiLCJ2aXNpdG9yX2lkIjoiNzQwOTcyMTMxNjUwNjQxMzM5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3e7df5cc1d2cb7a4e6e8f82f2ede2b310e7e15aa2357397b0e85c8bcdef303f7
hovercard-subject-tagissue:314979212
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/23412/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7229841277e0dcc9d69f8af09e93770c3bf54dd0b4f1e0e82b47a1c8565d9f2c/angular/angular/issues/23412
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7229841277e0dcc9d69f8af09e93770c3bf54dd0b4f1e0e82b47a1c8565d9f2c/angular/angular/issues/23412
og:image:altwhen I update the angular version form 4.x to 5.x, tell me the error: core.js:1449 ERROR Error: Uncaught (in promise): TypeError: undefined is not a function TypeError: undefined is not a function ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameliugang1988
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/23412#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F23412
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%2F23412
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
Reloadhttps://github.com/angular/angular/issues/23412
Reloadhttps://github.com/angular/angular/issues/23412
Reloadhttps://github.com/angular/angular/issues/23412
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests141 (141)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/23412
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/23412
Angular5.x lazyLoad problem, undefined is not a functionhttps://github.com/angular/angular/issues/23412#top
https://github.com/liugang1988
liugang1988https://github.com/liugang1988
on Apr 17, 2018https://github.com/angular/angular/issues/23412#issue-314979212
https://github.com/splincode
splincodehttps://github.com/splincode
on Apr 17, 2018https://github.com/angular/angular/issues/23412#issuecomment-381929843
angular/angular-cli#9825https://github.com/angular/angular-cli/issues/9825
https://github.com/jasonaden
jasonadenhttps://github.com/jasonaden
on Apr 17, 2018https://github.com/angular/angular/issues/23412#issuecomment-382127800
angular/angular-cli#9825https://github.com/angular/angular-cli/issues/9825
jasonadenhttps://github.com/jasonaden
[Bug] cli needs to be reloaded when a lazy loaded module is added in routes (FIXED) angular-cli#9825https://github.com/angular/angular-cli/issues/9825
on Apr 17, 2018https://github.com/angular/angular/issues/23412#event-1579798731
jasonadenhttps://github.com/jasonaden
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 17, 2018https://github.com/angular/angular/issues/23412#event-1579798734
https://github.com/vspatil678
vspatil678https://github.com/vspatil678
on Sep 4, 2018https://github.com/angular/angular/issues/23412#issuecomment-418237564
dag0bah1980https://github.com/dag0bah1980
on Sep 5, 2018https://github.com/angular/angular/issues/23412#event-1826711111
Built up Authorized SubModulehttps://github.com/dag0bah1980/AngularSandbox/commit/850406402c92293bb6aa7d1f6d11427eb2e726d8
8504064https://github.com/dag0bah1980/AngularSandbox/commit/850406402c92293bb6aa7d1f6d11427eb2e726d8
https://github.com/ThomasEg
ThomasEghttps://github.com/ThomasEg
on Sep 19, 2018https://github.com/angular/angular/issues/23412#issuecomment-422682849
https://github.com/mrcleanandfresh
mrcleanandfreshhttps://github.com/mrcleanandfresh
on Oct 11, 2018https://github.com/angular/angular/issues/23412#issuecomment-428938637
@ThomasEghttps://github.com/ThomasEg
the docshttps://angular.io/guide/lazy-loading-ngmodules#routes-at-the-app-level
https://github.com/nico-val
nico-valhttps://github.com/nico-val
on Oct 19, 2018https://github.com/angular/angular/issues/23412#issuecomment-431228318
@ThomasEghttps://github.com/ThomasEg
https://github.com/Abdullah8006
Abdullah8006https://github.com/Abdullah8006
on Oct 26, 2018https://github.com/angular/angular/issues/23412#issuecomment-433388335
@ThomasEghttps://github.com/ThomasEg
https://github.com/devfcr
devfcrhttps://github.com/devfcr
on Nov 1, 2018https://github.com/angular/angular/issues/23412#issuecomment-435002214
@ThomasEghttps://github.com/ThomasEg
https://github.com/Twechy
Twechyhttps://github.com/Twechy
on Nov 13, 2018https://github.com/angular/angular/issues/23412#issuecomment-438173796
https://github.com/Herwt-liyj
Herwt-liyjhttps://github.com/Herwt-liyj
on Nov 20, 2018https://github.com/angular/angular/issues/23412#issuecomment-440108198
https://github.com/LayZeeDK
LayZeeDKhttps://github.com/LayZeeDK
on Dec 11, 2018https://github.com/angular/angular/issues/23412#issuecomment-446033028
https://github.com/DynamiteTom
DynamiteTomhttps://github.com/DynamiteTom
on Jan 13, 2019https://github.com/angular/angular/issues/23412#issuecomment-453835029
@Injectablehttps://github.com/Injectable
https://github.com/AdonousTech
AdonousTechhttps://github.com/AdonousTech
on Jan 20, 2019https://github.com/angular/angular/issues/23412#issuecomment-455828606
https://github.com/sheikhziadahmed
sheikhziadahmedhttps://github.com/sheikhziadahmed
on Jan 29, 2019https://github.com/angular/angular/issues/23412#issuecomment-458373188
@ThomasEghttps://github.com/ThomasEg
https://github.com/sijucm
sijucmhttps://github.com/sijucm
on Feb 3, 2019https://github.com/angular/angular/issues/23412#issuecomment-460038757
https://github.com/elwyncrestha
elwyncresthahttps://github.com/elwyncrestha
on Apr 8, 2019https://github.com/angular/angular/issues/23412#issuecomment-480768833
@ThomasEghttps://github.com/ThomasEg
https://github.com/RodrigoPauletti
RodrigoPaulettihttps://github.com/RodrigoPauletti
on Apr 8, 2019https://github.com/angular/angular/issues/23412#issuecomment-481009139
@ThomasEghttps://github.com/ThomasEg
https://github.com/dlmvikas
dlmvikashttps://github.com/dlmvikas
on May 6, 2019https://github.com/angular/angular/issues/23412#issuecomment-489490059
@ThomasEghttps://github.com/ThomasEg
https://github.com/gayathribindela
gayathribindelahttps://github.com/gayathribindela
on May 8, 2019https://github.com/angular/angular/issues/23412#issuecomment-490425849
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 15, 2019https://github.com/angular/angular/issues/23412#issuecomment-531526339
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 15, 2019https://github.com/angular/angular/issues/23412#event-2634410918
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/23412
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/23412
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.