René's URL Explorer Experiment


Title: Ng 8.0 + ivy + library Error : does not have 'ngModuleDef' property · Issue #14594 · angular/angular-cli · GitHub

Open Graph Title: Ng 8.0 + ivy + library Error : does not have 'ngModuleDef' property · Issue #14594 · angular/angular-cli

X Title: Ng 8.0 + ivy + library Error : does not have 'ngModuleDef' property · Issue #14594 · angular/angular-cli

Description: 🐞 bug report Is this a regression? no Description this is a simple test ng 8.0 + ivy + library. is it ivy supported custom library ? this is the error message i get : Error: Type MyLibModule does not have 'ngModuleDef' property. if i tur...

Open Graph Description: 🐞 bug report Is this a regression? no Description this is a simple test ng 8.0 + ivy + library. is it ivy supported custom library ? this is the error message i get : Error: Type MyLibModule does n...

X Description: 🐞 bug report Is this a regression? no Description this is a simple test ng 8.0 + ivy + library. is it ivy supported custom library ? this is the error message i get : Error: Type MyLibModule does n...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ng 8.0 + ivy + library Error : does not have 'ngModuleDef' property","articleBody":"# 🐞 bug report\r\n\r\n\r\n### Is this a regression?\r\nno\r\n\r\n### Description\r\nthis is a simple test ng 8.0 + ivy + library.  is it ivy supported custom library ? \r\nthis is the error message i get : \r\nError: Type MyLibModule does not have 'ngModuleDef' property.\r\nif i turn off ivy, all work fine\r\n\r\n\r\n## 🔬 Minimal Reproduction\r\nhttps://github.com/keatkeat87/angular-ivy-library-issue\r\n\r\nstep : \r\nng new library-and-project-issue --enable-ivy\r\ncd library-and-project-issue\r\nng g library my-lib\r\nng build my-lib\r\n\r\n```\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { AppRoutingModule } from './app-routing.module';\r\nimport { AppComponent } from './app.component';\r\nimport { MyLibModule } from 'my-lib'; // add\r\n\r\n@NgModule({\r\n  declarations: [\r\n    AppComponent\r\n  ],\r\n  imports: [\r\n    BrowserModule,\r\n    AppRoutingModule,\r\n    MyLibModule  // add\r\n  ],\r\n  providers: [],\r\n  bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }\r\n```\r\nng serve --open\r\n\r\n\r\n\r\n**Angular Version:**\r\nAngular CLI: 8.0.0\r\nNode: 12.3.1\r\nOS: win32 x64\r\nAngular:\r\n...\r\n\r\nPackage                      Version\r\n------------------------------------------------------\r\n@angular-devkit/architect    0.800.0\r\n@angular-devkit/core         8.0.0\r\n@angular-devkit/schematics   8.0.0\r\n@schematics/angular          8.0.0\r\n@schematics/update           0.800.0\r\nrxjs                         6.4.0\r\n \r\n","author":{"url":"https://github.com/keatkeat87","@type":"Person","name":"keatkeat87"},"datePublished":"2019-05-30T08:25:20Z","url":"https://github.com/angular/angular-cli/issues/14594"}

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:63186139-b3b2-a714-37b8-1e5ae122a56e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA73E:21AC3F:19415D6:1FFEC87:6B012C05
html-safe-nonceabc3afa59e5f0722a6d089c7817571be90d57d01f3828715076a0cd85b0c14a3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzNFOjIxQUMzRjoxOTQxNUQ2OjFGRkVDODc6NkIwMTJDMDUiLCJ2aXNpdG9yX2lkIjoiMzg3ODAwNTA2NTE3NjM5NDc1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac87d02f3cdf4f16082ebd1d03268013c8ef2d5c5624ee024b33da9ffbe37c3510
hovercard-subject-tagissue:450418396
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/14594/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bfd6e12c58d04eb160a9580f11a774e995982c9c5b02a15771d47c1c8ed33e05/angular/angular-cli/issues/14594
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bfd6e12c58d04eb160a9580f11a774e995982c9c5b02a15771d47c1c8ed33e05/angular/angular-cli/issues/14594
og:image:alt🐞 bug report Is this a regression? no Description this is a simple test ng 8.0 + ivy + library. is it ivy supported custom library ? this is the error message i get : Error: Type MyLibModule does n...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekeatkeat87
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/14594#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F14594
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%2F14594
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/14594
Reloadhttps://github.com/angular/angular-cli/issues/14594
Reloadhttps://github.com/angular/angular-cli/issues/14594
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/14594
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/14594
#14755https://github.com/angular/angular-cli/pull/14755
#14721https://github.com/angular/angular-cli/pull/14721
Ng 8.0 + ivy + library Error : does not have 'ngModuleDef' propertyhttps://github.com/angular/angular-cli/issues/14594#top
#14755https://github.com/angular/angular-cli/pull/14755
#14721https://github.com/angular/angular-cli/pull/14721
https://github.com/alan-agius4
area: @ngtools/webpackhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40ngtools%2Fwebpack%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%22
8.1.xhttps://github.com/angular/angular-cli/milestone/18
https://github.com/keatkeat87
keatkeat87https://github.com/keatkeat87
on May 30, 2019https://github.com/angular/angular-cli/issues/14594#issue-450418396
https://github.com/keatkeat87/angular-ivy-library-issuehttps://github.com/keatkeat87/angular-ivy-library-issue
Nexthttps://github.com/angular/angular-cli/issues/14594?timeline_page=1
https://github.com/JoostK
JoostKhttps://github.com/JoostK
on May 30, 2019https://github.com/angular/angular-cli/issues/14594#issuecomment-497288501
https://github.com/keatkeat87
keatkeat87https://github.com/keatkeat87
on May 30, 2019https://github.com/angular/angular-cli/issues/14594#issuecomment-497378275
https://github.com/JoostK
JoostKhttps://github.com/JoostK
on May 30, 2019https://github.com/angular/angular-cli/issues/14594#issuecomment-497389685
@manughubhttps://github.com/manughub
filipesilvahttps://github.com/filipesilva
angular/angularhttps://github.com/angular/angular
on May 30, 2019https://github.com/angular/angular-cli/issues/14594#event-2378764762
filipesilvahttps://github.com/filipesilva
area: @angular-devkit/build-angularhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fbuild-angular%22
devkit/build-angular:libraryhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22devkit%2Fbuild-angular%3Alibrary%22
on May 30, 2019https://github.com/angular/angular-cli/issues/14594#event-2378766295
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
on May 30, 2019https://github.com/angular/angular-cli/issues/14594#event-2378766338
filipesilvahttps://github.com/filipesilva
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%22
devkit/build-angular:libraryhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22devkit%2Fbuild-angular%3Alibrary%22
on May 30, 2019https://github.com/angular/angular-cli/issues/14594#event-2378767756
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular-cli/milestone/11
Backloghttps://github.com/angular/angular-cli/milestone/12
on May 30, 2019https://github.com/angular/angular-cli/issues/14594#event-2378767791
https://github.com/filipesilva
filipesilvahttps://github.com/filipesilva
on May 30, 2019https://github.com/angular/angular-cli/issues/14594#issuecomment-497412971
alan-agius4https://github.com/alan-agius4
on May 30, 2019https://github.com/angular/angular-cli/issues/14594#event-2378772335
alan-agius4https://github.com/alan-agius4
area: @ngtools/webpackhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40ngtools%2Fwebpack%22
area: @angular-devkit/build-angularhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40angular-devkit%2Fbuild-angular%22
on May 30, 2019https://github.com/angular/angular-cli/issues/14594#event-2379188490
alan-agius4https://github.com/alan-agius4
Backloghttps://github.com/angular/angular-cli/milestone/12
8.1.0https://github.com/angular/angular-cli/milestone/18
on May 31, 2019https://github.com/angular/angular-cli/issues/14594#event-2379957771
https://github.com/vytautas-pranskunas-
vytautas-pranskunas-https://github.com/vytautas-pranskunas-
on May 31, 2019https://github.com/angular/angular-cli/issues/14594#issuecomment-497733223
kyliauhttps://github.com/kyliau
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#14721https://github.com/angular/angular-cli/pull/14721
on Jun 11, 2019https://github.com/angular/angular-cli/issues/14594#event-2404838814
kyliauhttps://github.com/kyliau
on Jun 11, 2019https://github.com/angular/angular-cli/issues/14594#event-2404839417
feat(@ngtools/webpack): add path mappings resolution to NGCChttps://github.com/angular/angular-cli/commit/efe463371d3d0947701812997f7b41bffe0532d7
https://docs.github.com/articles/closing-issues-via-commit-messages
efe4633https://github.com/angular/angular-cli/commit/efe463371d3d0947701812997f7b41bffe0532d7
https://github.com/alan-agius4
alan-agius4https://github.com/alan-agius4
on Jun 13, 2019https://github.com/angular/angular-cli/issues/14594#issuecomment-501580138
#14755https://github.com/angular/angular-cli/pull/14755
alan-agius4https://github.com/alan-agius4
on Jun 13, 2019https://github.com/angular/angular-cli/issues/14594#event-2409588991
mgechevhttps://github.com/mgechev
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#14755https://github.com/angular/angular-cli/pull/14755
on Jun 20, 2019https://github.com/angular/angular-cli/issues/14594#event-2428178067
mgechevhttps://github.com/mgechev
on Jun 20, 2019https://github.com/angular/angular-cli/issues/14594#event-2428178340
fix(@ngtools/webpack): NGCC workspace libraries module resolutionhttps://github.com/angular/angular-cli/commit/a1402d9f107c3ed09288f29c1482a3a22a03ac61
https://docs.github.com/articles/closing-issues-via-commit-messages
a1402d9https://github.com/angular/angular-cli/commit/a1402d9f107c3ed09288f29c1482a3a22a03ac61
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/14594#issuecomment-529565026
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/14594#event-2619392127
ikjellehttps://github.com/ikjelle
on Mar 26, 2024https://github.com/angular/angular-cli/issues/14594#event-12257690891
feat(@ngtools/webpack): add path mappings resolution to NGCChttps://github.com/ikjelle/angular-cli/commit/c01461af98240bcab31ba20da5734624b0fd3c98
https://docs.github.com/articles/closing-issues-via-commit-messages
c01461ahttps://github.com/ikjelle/angular-cli/commit/c01461af98240bcab31ba20da5734624b0fd3c98
fix(@ngtools/webpack): NGCC workspace libraries module resolutionhttps://github.com/ikjelle/angular-cli/commit/fac27034c78b97c3c5f759a47361a302af2b69b5
https://docs.github.com/articles/closing-issues-via-commit-messages
fac2703https://github.com/ikjelle/angular-cli/commit/fac27034c78b97c3c5f759a47361a302af2b69b5
mostafaibrhttps://github.com/mostafaibr
on May 29, 2026https://github.com/angular/angular-cli/issues/14594#event-26099578743
feat(@ngtools/webpack): add path mappings resolution to NGCChttps://github.com/mostafaibr/angular-cli/commit/9d24c9b83b48edca3db69f43b3c063bc2c3760a9
https://docs.github.com/articles/closing-issues-via-commit-messages
9d24c9bhttps://github.com/mostafaibr/angular-cli/commit/9d24c9b83b48edca3db69f43b3c063bc2c3760a9
fix(@ngtools/webpack): NGCC workspace libraries module resolutionhttps://github.com/mostafaibr/angular-cli/commit/7d078789516cd79c93574573a28a79ee2358aedb
https://docs.github.com/articles/closing-issues-via-commit-messages
7d07878https://github.com/mostafaibr/angular-cli/commit/7d078789516cd79c93574573a28a79ee2358aedb
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/14594
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/14594
alan-agius4https://github.com/alan-agius4
area: @ngtools/webpackhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40ngtools%2Fwebpack%22
featureLabel used to distinguish feature request from other issueshttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22feature%22
8.1.xhttps://github.com/angular/angular-cli/milestone/18
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.