René's URL Explorer Experiment


Title: Webpack not generating 0.chunk.js for lazy loaded module · Issue #2865 · angular/angular-cli · GitHub

Open Graph Title: Webpack not generating 0.chunk.js for lazy loaded module · Issue #2865 · angular/angular-cli

X Title: Webpack not generating 0.chunk.js for lazy loaded module · Issue #2865 · angular/angular-cli

Description: Please provide us with the following information: OS? Windows 10 Versions. angular-cli: 1.0.0-beta.18 node: 4.6.0 os: win32 x64 webpack 2.1.0-beta.25 (found in build results) Repro steps. Create a new app following install directions on ...

Open Graph Description: Please provide us with the following information: OS? Windows 10 Versions. angular-cli: 1.0.0-beta.18 node: 4.6.0 os: win32 x64 webpack 2.1.0-beta.25 (found in build results) Repro steps. Create a ...

X Description: Please provide us with the following information: OS? Windows 10 Versions. angular-cli: 1.0.0-beta.18 node: 4.6.0 os: win32 x64 webpack 2.1.0-beta.25 (found in build results) Repro steps. Create a ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Webpack not generating 0.chunk.js for lazy loaded module","articleBody":"\u003e ## Please provide us with the following information:\n### OS?\n\nWindows 10\n### Versions.\n\nangular-cli: 1.0.0-beta.18\nnode: 4.6.0\nos: win32 x64 \nwebpack 2.1.0-beta.25 (found in build results)\n### Repro steps.\n- Create a new app following install directions on angular-cli site page.\n- Used ng g module \u003cmodule.name\u003e to generate 3 modules.\n- Used a combination of John Papa's pluralsight and angular.io tutorials to configure routing with one route setup to lazy load.\n- At design time ng build \u0026 ng serve show no errors.\n- At runtime the error listed below is shown in the console when trying to navigate to the lazy loaded route. \n\nAt build time, I notice that there is no 0.chunk.js file created.  In reading through other issues (#2112) that mention this problem, a solution is often given that says the module must be referenced somewhere else in the application.  I have gone through every module and component in the app and can find nothing that is attempting to import my admin.module, which I believe is supported by the error messages below.\n### The log given by the failure (from Chrome Developer Tools, Console window)\n\nerror_handler.js:47 \nEXCEPTION: Uncaught (in promise): Error: Cannot find module 'app/admin/admin.routing.module'.\nError: Cannot find module 'app/admin/admin.routing.module'.\n    at webpackEmptyContext (http://localhost:4200/main.bundle.js:44890:8)\n    at SystemJsNgModuleLoader.loadAndCompile (http://localhost:4200/main.bundle.js:52734:40)\n    at SystemJsNgModuleLoader.load (http://localhost:4200/main.bundle.js:52727:60)\n    at RouterConfigLoader.loadModuleFactory (http://localhost:4200/main.bundle.js:17422:128)\n    at RouterConfigLoader.load (http://localhost:4200/main.bundle.js:17414:81)\n    at MergeMapSubscriber.project (http://localhost:4200/main.bundle.js:55360:111)\n    at MergeMapSubscriber._tryNext (http://localhost:4200/main.bundle.js:12064:27)\n    at MergeMapSubscriber._next (http://localhost:4200/main.bundle.js:12054:18)\n    at MergeMapSubscriber.Subscriber.next (http://localhost:4200/main.bundle.js:394:18)\n    at ScalarObservable._subscribe (http://localhost:4200/main.bundle.js:26846:24)\n\nerror_handler.js:53 \nError: Uncaught (in promise): Error: Cannot find module 'app/admin/admin.routing.module'.\nError: Cannot find module 'app/admin/admin.routing.module'.\n    at webpackEmptyContext (src async:2)\n    at SystemJsNgModuleLoader.loadAndCompile (system_js_ng_module_factory_loader.js:45)\n    at SystemJsNgModuleLoader.load (system_js_ng_module_factory_loader.js:38)\n    at RouterConfigLoader.loadModuleFactory (router_config_loader.js:40)\n    at RouterConfigLoader.load (router_config_loader.js:32)\n    at MergeMapSubscriber.project (apply_redirects.js:215)\n    at MergeMapSubscriber._tryNext (mergeMap.js:110)\n    at MergeMapSubscriber._next (mergeMap.js:100)\n    at MergeMapSubscriber.Subscriber.next (Subscriber.js:89)\n    at ScalarObservable._subscribe (ScalarObservable.js:49)\n    at resolvePromise (zone.js:468)\n    at zone.js:445\n    at ZoneDelegate.invoke (zone.js:232)\n    at Object.onInvoke (ng_zone_impl.js:43)\n    at ZoneDelegate.invoke (zone.js:231)\n    at Zone.run (zone.js:114)\n    at zone.js:502\n    at ZoneDelegate.invokeTask (zone.js:265)\n    at Object.onInvokeTask (ng_zone_impl.js:34)\n    at ZoneDelegate.invokeTask (zone.js:264)\n\nzone.js:388 \nUnhandled Promise rejection: Cannot find module 'app/admin/admin.routing.module'. ; Zone: angular ; Task: Promise.then ; Value: Error: Cannot find module 'app/admin/admin.routing.module'.(…) Error: Cannot find module 'app/admin/admin.routing.module'.\n    at webpackEmptyContext (http://localhost:4200/main.bundle.js:44890:8)\n    at SystemJsNgModuleLoader.loadAndCompile (http://localhost:4200/main.bundle.js:52734:40)\n    at SystemJsNgModuleLoader.load (http://localhost:4200/main.bundle.js:52727:60)\n    at RouterConfigLoader.loadModuleFactory (http://localhost:4200/main.bundle.js:17422:128)\n    at RouterConfigLoader.load (http://localhost:4200/main.bundle.js:17414:81)\n    at MergeMapSubscriber.project (http://localhost:4200/main.bundle.js:55360:111)\n    at MergeMapSubscriber._tryNext (http://localhost:4200/main.bundle.js:12064:27)\n    at MergeMapSubscriber._next (http://localhost:4200/main.bundle.js:12054:18)\n    at MergeMapSubscriber.Subscriber.next (http://localhost:4200/main.bundle.js:394:18)\n    at ScalarObservable._subscribe (http://localhost:4200/main.bundle.js:26846:24)\n\nzone.js:390 \nError: Uncaught (in promise): Error: Cannot find module 'app/admin/admin.routing.module'.(…)consoleError @ zone.js:390_loop_1 @ zone.js:417drainMicroTaskQueue @ zone.js:421ZoneTask.invoke @ zone.js:339\n### Mention any other details that might be useful.\n\nI have tried all the advice from Issue #2112, but wasn't successful.  I zipped and attached my project (minus the node_modules, of course).  Any guidance you can provide would be appreciated, thanks!  \n[NotLazyLoading.zip](https://github.com/angular/angular-cli/files/548594/NotLazyLoading.zip)\n","author":{"url":"https://github.com/michaeldevenney","@type":"Person","name":"michaeldevenney"},"datePublished":"2016-10-24T18:02:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/2865/angular-cli/issues/2865"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e10d138a-c961-4e3a-68cd-37c443d08685
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id99E6:360109:1EE225:27A0F0:6976782D
html-safe-nonce69d354af3c48ab64c5152c84faa911b0423d9f815d7c5e6dd7f87d94dec09064
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUU2OjM2MDEwOToxRUUyMjU6MjdBMEYwOjY5NzY3ODJEIiwidmlzaXRvcl9pZCI6Ijc4MDkwNDk4OTA4NTA3NjQ4NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac055c5e9f5ba301cbc552956095578a1f52a851945c2f548deb621153f078ef9a
hovercard-subject-tagissue:184912193
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/2865/issue_layout
twitter:imagehttps://opengraph.githubassets.com/45eb9569d0aab3c4c8995721d68285440ad918967cab104403a987b8556530b7/angular/angular-cli/issues/2865
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/45eb9569d0aab3c4c8995721d68285440ad918967cab104403a987b8556530b7/angular/angular-cli/issues/2865
og:image:altPlease provide us with the following information: OS? Windows 10 Versions. angular-cli: 1.0.0-beta.18 node: 4.6.0 os: win32 x64 webpack 2.1.0-beta.25 (found in build results) Repro steps. Create a ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemichaeldevenney
hostnamegithub.com
expected-hostnamegithub.com
None032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411
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
release5b577f6be6482e336e3c30e8daefa30144947b17
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/2865#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F2865
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F2865
Sign up https://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/2865
Reloadhttps://github.com/angular/angular-cli/issues/2865
Reloadhttps://github.com/angular/angular-cli/issues/2865
angular https://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Notifications https://github.com/login?return_to=%2Fangular%2Fangular-cli
Fork 11.9k https://github.com/login?return_to=%2Fangular%2Fangular-cli
Star 27k https://github.com/login?return_to=%2Fangular%2Fangular-cli
Code https://github.com/angular/angular-cli
Issues 265 https://github.com/angular/angular-cli/issues
Pull requests 30 https://github.com/angular/angular-cli/pulls
Actions https://github.com/angular/angular-cli/actions
Security 1 https://github.com/angular/angular-cli/security
Insights https://github.com/angular/angular-cli/pulse
Code https://github.com/angular/angular-cli
Issues https://github.com/angular/angular-cli/issues
Pull requests https://github.com/angular/angular-cli/pulls
Actions https://github.com/angular/angular-cli/actions
Security https://github.com/angular/angular-cli/security
Insights https://github.com/angular/angular-cli/pulse
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/2865
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/2865
Webpack not generating 0.chunk.js for lazy loaded modulehttps://github.com/angular/angular-cli/issues/2865#top
https://github.com/michaeldevenney
https://github.com/michaeldevenney
michaeldevenneyhttps://github.com/michaeldevenney
on Oct 24, 2016https://github.com/angular/angular-cli/issues/2865#issue-184912193
#2112https://github.com/angular/angular-cli/issues/2112
http://localhost:4200/main.bundle.js:44890:8http://localhost:4200/main.bundle.js:44890:8
http://localhost:4200/main.bundle.js:52734:40http://localhost:4200/main.bundle.js:52734:40
http://localhost:4200/main.bundle.js:52727:60http://localhost:4200/main.bundle.js:52727:60
http://localhost:4200/main.bundle.js:17422:128http://localhost:4200/main.bundle.js:17422:128
http://localhost:4200/main.bundle.js:17414:81http://localhost:4200/main.bundle.js:17414:81
http://localhost:4200/main.bundle.js:55360:111http://localhost:4200/main.bundle.js:55360:111
http://localhost:4200/main.bundle.js:12064:27http://localhost:4200/main.bundle.js:12064:27
http://localhost:4200/main.bundle.js:12054:18http://localhost:4200/main.bundle.js:12054:18
http://localhost:4200/main.bundle.js:394:18http://localhost:4200/main.bundle.js:394:18
http://localhost:4200/main.bundle.js:26846:24http://localhost:4200/main.bundle.js:26846:24
http://localhost:4200/main.bundle.js:44890:8http://localhost:4200/main.bundle.js:44890:8
http://localhost:4200/main.bundle.js:52734:40http://localhost:4200/main.bundle.js:52734:40
http://localhost:4200/main.bundle.js:52727:60http://localhost:4200/main.bundle.js:52727:60
http://localhost:4200/main.bundle.js:17422:128http://localhost:4200/main.bundle.js:17422:128
http://localhost:4200/main.bundle.js:17414:81http://localhost:4200/main.bundle.js:17414:81
http://localhost:4200/main.bundle.js:55360:111http://localhost:4200/main.bundle.js:55360:111
http://localhost:4200/main.bundle.js:12064:27http://localhost:4200/main.bundle.js:12064:27
http://localhost:4200/main.bundle.js:12054:18http://localhost:4200/main.bundle.js:12054:18
http://localhost:4200/main.bundle.js:394:18http://localhost:4200/main.bundle.js:394:18
http://localhost:4200/main.bundle.js:26846:24http://localhost:4200/main.bundle.js:26846:24
#2112https://github.com/angular/angular-cli/issues/2112
NotLazyLoading.ziphttps://github.com/angular/angular-cli/files/548594/NotLazyLoading.zip
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.