René's URL Explorer Experiment


Title: ERROR in Maximum call stack size exceeded : Feature module circular dependency · Issue #6309 · angular/angular-cli · GitHub

Open Graph Title: ERROR in Maximum call stack size exceeded : Feature module circular dependency · Issue #6309 · angular/angular-cli

X Title: ERROR in Maximum call stack size exceeded : Feature module circular dependency · Issue #6309 · angular/angular-cli

Description: Bug Report or Feature Request (mark with an x) - [X] bug report -> please search issues before submitting - [ ] feature request Versions. @angular/cli: 1.0.0-rc.2 node: 6.10.0 os: linux x64 @angular/common: 2.4.10 @angular/compiler: 2.4....

Open Graph Description: Bug Report or Feature Request (mark with an x) - [X] bug report -> please search issues before submitting - [ ] feature request Versions. @angular/cli: 1.0.0-rc.2 node: 6.10.0 os: linux x64 @angula...

X Description: Bug Report or Feature Request (mark with an x) - [X] bug report -> please search issues before submitting - [ ] feature request Versions. @angular/cli: 1.0.0-rc.2 node: 6.10.0 os: linux x64 @ang...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ERROR in Maximum call stack size exceeded : Feature module circular dependency ","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n-->\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [X] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Versions.\r\n\u003c!--\r\nOutput from: `ng --version`.\r\nIf nothing, output from: `node --version` and `npm --version`.\r\n  Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)\r\n-->\r\n> @angular/cli: 1.0.0-rc.2\r\nnode: 6.10.0\r\nos: linux x64\r\n@angular/common: 2.4.10\r\n@angular/compiler: 2.4.10\r\n@angular/core: 2.4.10\r\n@angular/forms: 2.4.10\r\n@angular/http: 2.4.10\r\n@angular/platform-browser: 2.4.10\r\n@angular/platform-browser-dynamic: 2.4.10\r\n@angular/router: 3.4.10\r\n@angular/cli: 1.0.0-rc.2\r\n@angular/compiler-cli: 2.4.10\r\n\r\n\r\n### Repro steps.\r\n\u003c!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run, packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\n**STEPS TO REPRODUCE**\r\nSee git repo\r\nhttps://github.com/vaibhavbparikh/circular-routes\r\n\r\n\r\n### The log given by the failure.\r\n\u003c!-- Normally this include a stack trace and some more information. -->\r\n> ** NG Live Development Server is running on http://localhost:4200 **\r\nHash: f669143e24ec08ff9586\r\nTime: 23223ms\r\nchunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 232 kB {4} [initial] [rendered]\r\nchunk    {1} main.bundle.js, main.bundle.js.map (main) 332 kB {3} [initial] [rendered]\r\nchunk    {2} styles.bundle.js, styles.bundle.js.map (styles) 304 kB {4} [initial] [rendered]\r\nchunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 5.64 MB [initial] [rendered]\r\nchunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]\r\nERROR in Maximum call stack size exceeded\r\nwebpack: Failed to compile.\r\n\r\nHowever when I do any changes in file and save it again, angular-cli compiles it again and it runs fine then. \r\n\r\n\r\n### Desired functionality.\r\n\u003c!--\r\nWhat would like to see implemented?\r\nWhat is the usecase?\r\n-->\r\nThis behaviour shall not create cyclic dependency, there should be mechanism to detect this and break.\r\nEither it shall not compile at all or it shall not throw error at first compile.\r\n\r\n** USE CASE **\r\n> I have 3 Feature modules in the application. Each Feature modules contains 3 or more sub feature modules with their own components and specially **routes** with router module.\r\n> Now consider below scenario.\r\n> I have modules as below.\r\n> \r\n> - Feature 1\r\n>   - Feature1Sub Feature 1\r\n>   - Feature1Sub Feature 2\r\n> - Feature 2\r\n>   - Feature2Sub Feature 1\r\n>   - Feature2Sub Feature 2\r\n> - Feature 3\r\n>   - Feature3Sub Feature 1\r\n>   - Feature3Sub Feature 2\r\n> \r\n> Now Consider below flow.\r\n> I am loading Feature 1 -> Feature1Sub Feature 1. I want to load Feature2Sub Feature 1 directly from Feature1Sub Feature 1. Without loading whole Feature 2 module. Also, I need to maintain navigation flow with back button.\r\n> So I will need to write routes and load that module with loadchildren feature in module of Feature1Sub Feature 1.\r\n> Same way I want to load Feature1Sub Feature 1 directly from Feature2SubFeature 1 without loading whole Feature 2 module. So again I will need to write routes in Feature1Sub Feature 1 module.\r\n> \r\n\r\nAs a complex and large application, there might be need to create flow where two or more modules needs each other with routing.\r\n\r\n\r\n### Mention any other details that might be useful.\r\n\u003c!-- Please include a link to the repo if this is related to an OSS project. -->\r\n\r\n","author":{"url":"https://github.com/vaibhavbparikh","@type":"Person","name":"vaibhavbparikh"},"datePublished":"2017-05-14T12:43:02Z","url":"https://github.com/angular/angular-cli/issues/6309"}

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:14950efc-b8f9-6704-b9a5-dc7e16f7bc1b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB88C:A71F9:B53BC7:E3C82D:6B013046
html-safe-nonceb04fb4be5618b673a283a0a4de77be967c816420d986d68cfe77e4c10db8d570
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODhDOkE3MUY5OkI1M0JDNzpFM0M4MkQ6NkIwMTMwNDYiLCJ2aXNpdG9yX2lkIjoiOTEyODMyMDM3OTQxNTI0NDg3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace8ea3998afd7b5619ed1f9b87c52466b01f1662d3c2c11b39be45de5f1bc54cb
hovercard-subject-tagissue:228539267
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/6309/issue_layout
twitter:imagehttps://opengraph.githubassets.com/37f3432a7ede7a224a13bcfb585c98de8bba9c86ebcbbcbc2b962c34982e4649/angular/angular-cli/issues/6309
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/37f3432a7ede7a224a13bcfb585c98de8bba9c86ebcbbcbc2b962c34982e4649/angular/angular-cli/issues/6309
og:image:altBug Report or Feature Request (mark with an x) - [X] bug report -> please search issues before submitting - [ ] feature request Versions. @angular/cli: 1.0.0-rc.2 node: 6.10.0 os: linux x64 @angula...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevaibhavbparikh
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/6309#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F6309
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%2F6309
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/6309
Reloadhttps://github.com/angular/angular-cli/issues/6309
Reloadhttps://github.com/angular/angular-cli/issues/6309
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/6309
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/6309
#6813https://github.com/angular/angular-cli/pull/6813
ERROR in Maximum call stack size exceeded : Feature module circular dependency https://github.com/angular/angular-cli/issues/6309#top
#6813https://github.com/angular/angular-cli/pull/6813
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P3%22
freq2: mediumhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
https://github.com/vaibhavbparikh
vaibhavbparikhhttps://github.com/vaibhavbparikh
on May 14, 2017https://github.com/angular/angular-cli/issues/6309#issue-228539267
https://github.com/vaibhavbparikh/circular-routeshttps://github.com/vaibhavbparikh/circular-routes
http://localhost:4200http://localhost:4200
Nexthttps://github.com/angular/angular-cli/issues/6309?timeline_page=1
https://github.com/vaibhavbparikh
vaibhavbparikhhttps://github.com/vaibhavbparikh
on May 14, 2017https://github.com/angular/angular-cli/issues/6309#issuecomment-301310122
#5427https://github.com/angular/angular-cli/issues/5427
sumitarorahttps://github.com/sumitarora
on May 15, 2017https://github.com/angular/angular-cli/issues/6309#event-1081479437
sumitarorahttps://github.com/sumitarora
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
freq2: mediumhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P3%22
on May 15, 2017https://github.com/angular/angular-cli/issues/6309#event-1081479476
https://github.com/vaibhavbparikh
vaibhavbparikhhttps://github.com/vaibhavbparikh
on May 15, 2017https://github.com/angular/angular-cli/issues/6309#issuecomment-301551691
@sumitarorahttps://github.com/sumitarora
https://github.com/mikeumus
mikeumushttps://github.com/mikeumus
on May 25, 2017https://github.com/angular/angular-cli/issues/6309#issuecomment-304087059
https://github.com/vaibhavbparikh
vaibhavbparikhhttps://github.com/vaibhavbparikh
on May 26, 2017https://github.com/angular/angular-cli/issues/6309#issuecomment-304248204
@mikeumushttps://github.com/mikeumus
https://github.com/mikeumus
mikeumushttps://github.com/mikeumus
on May 27, 2017https://github.com/angular/angular-cli/issues/6309#issuecomment-304465997
https://github.com/ricardotorre
ricardotorrehttps://github.com/ricardotorre
on Jun 5, 2017https://github.com/angular/angular-cli/issues/6309#issuecomment-306213810
filipesilvahttps://github.com/filipesilva
on Jun 27, 2017https://github.com/angular/angular-cli/issues/6309#event-1140160517
feat(@angular/cli): add circular dependency detectionhttps://github.com/filipesilva/angular-cli/commit/66d4e339074019c10b4b33a8e9cd4d51d1db343e
https://docs.github.com/articles/closing-issues-via-commit-messages
66d4e33https://github.com/filipesilva/angular-cli/commit/66d4e339074019c10b4b33a8e9cd4d51d1db343e
feat(@angular/cli): add circular dependency detectionhttps://github.com/filipesilva/angular-cli/commit/5614a99001d42b40cf9ed773a7d149c48e0422e6
https://docs.github.com/articles/closing-issues-via-commit-messages
5614a99https://github.com/filipesilva/angular-cli/commit/5614a99001d42b40cf9ed773a7d149c48e0422e6
feat(@angular/cli): add circular dependency detectionhttps://github.com/filipesilva/angular-cli/commit/91a1da029101a5db876e214755979e1735980552
https://docs.github.com/articles/closing-issues-via-commit-messages
91a1da0https://github.com/filipesilva/angular-cli/commit/91a1da029101a5db876e214755979e1735980552
feat(@angular/cli): add circular dependency detectionhttps://github.com/filipesilva/angular-cli/commit/db0f81701980a368bf4682e81ecffa132c1ec009
https://docs.github.com/articles/closing-issues-via-commit-messages
db0f817https://github.com/filipesilva/angular-cli/commit/db0f81701980a368bf4682e81ecffa132c1ec009
https://github.com/fearless23
fearless23https://github.com/fearless23
on Oct 30, 2017https://github.com/angular/angular-cli/issues/6309#issuecomment-340349017
@vaibhavbparikhhttps://github.com/vaibhavbparikh
@filipesilvahttps://github.com/filipesilva
https://github.com/AnthonyNahas
AnthonyNahashttps://github.com/AnthonyNahas
on Nov 9, 2017https://github.com/angular/angular-cli/issues/6309#issuecomment-343272588
https://github.com/ricardotorre
ricardotorrehttps://github.com/ricardotorre
on Nov 10, 2017https://github.com/angular/angular-cli/issues/6309#issuecomment-343451757
https://github.com/christofferskog
christofferskoghttps://github.com/christofferskog
on Nov 15, 2017https://github.com/angular/angular-cli/issues/6309#issuecomment-344613427
https://github.com/ricardotorre
ricardotorrehttps://github.com/ricardotorre
on Nov 15, 2017https://github.com/angular/angular-cli/issues/6309#issuecomment-344620059
dond2cloudshttps://github.com/dond2clouds
on Apr 23, 2018https://github.com/angular/angular-cli/issues/6309#event-1589896529
feat(@angular/cli): add circular dependency detectionhttps://github.com/d2clouds/speedray-cli/commit/647cbfe9e348b58269f4c91d90a812c46274ee4b
https://docs.github.com/articles/closing-issues-via-commit-messages
647cbfehttps://github.com/d2clouds/speedray-cli/commit/647cbfe9e348b58269f4c91d90a812c46274ee4b
https://github.com/vugar005
vugar005https://github.com/vugar005
on Sep 4, 2018https://github.com/angular/angular-cli/issues/6309#issuecomment-418261903
vugar005https://github.com/vugar005
sumitarorahttps://github.com/sumitarora
on Sep 4, 2018https://github.com/angular/angular-cli/issues/6309#event-1824479716
https://github.com/chaitanyagawande
chaitanyagawandehttps://github.com/chaitanyagawande
on Nov 7, 2018https://github.com/angular/angular-cli/issues/6309#issuecomment-436549334
https://github.com/appify-ArsalanJaved
appify-ArsalanJavedhttps://github.com/appify-ArsalanJaved
on Jan 29, 2019https://github.com/angular/angular-cli/issues/6309#issuecomment-458436103
https://github.com/vigneshTheDev
vigneshTheDevhttps://github.com/vigneshTheDev
on Apr 28, 2019https://github.com/angular/angular-cli/issues/6309#issuecomment-487410305
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/6309#issuecomment-529454486
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/6309#event-2618527957
mostafaibrhttps://github.com/mostafaibr
on May 29, 2026https://github.com/angular/angular-cli/issues/6309#event-26099519376
feat(@angular/cli): add circular dependency detectionhttps://github.com/mostafaibr/angular-cli/commit/7957a11440cc117fef8321d5424a03ecf271d493
https://docs.github.com/articles/closing-issues-via-commit-messages
7957a11https://github.com/mostafaibr/angular-cli/commit/7957a11440cc117fef8321d5424a03ecf271d493
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/6309
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/6309
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenthttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22P3%22
freq2: mediumhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
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.