René's URL Explorer Experiment


Title: Error NG6002: Upgraded LIB to NG9 · Issue #36185 · angular/angular · GitHub

Open Graph Title: Error NG6002: Upgraded LIB to NG9 · Issue #36185 · angular/angular

X Title: Error NG6002: Upgraded LIB to NG9 · Issue #36185 · angular/angular

Description: 🐞 bug report Affected Package There is a similar problem #35536 and if I follow instructions from this issue it works as a workaround Is this a regression? Yes. NG8 has no problem compiling local libs and local app to test it. Descriptio...

Open Graph Description: 🐞 bug report Affected Package There is a similar problem #35536 and if I follow instructions from this issue it works as a workaround Is this a regression? Yes. NG8 has no problem compiling local l...

X Description: 🐞 bug report Affected Package There is a similar problem #35536 and if I follow instructions from this issue it works as a workaround Is this a regression? Yes. NG8 has no problem compiling local l...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error NG6002: Upgraded LIB to NG9","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\nThere is a similar problem https://github.com/angular/angular/issues/35536 and if I follow instructions from this issue it works as a workaround\r\n\r\n\r\n\r\n### Is this a regression?\r\nYes. NG8 has no problem compiling local libs and local app to test it. \r\n\r\n### Description\r\n\r\nAs you can see it here at [MetaUI](https://github.com/ngx-meta/rules/tree/ng9), I have `libs` and `apps` folders. \r\n\r\n**Libs** contains two libraries ( that we shoudl care about now):\r\n - **rules** - core rules engine library\r\n - **material-rules** - Specific UI library implementation for rules. It also uses and imports core `rules` library\r\n\r\nThen I have **apps** as playground: \r\n - **material-app**: which imports both libraries. \r\n\r\nThe normal workflow in NG8 to be able to test `material-app` was:\r\n\r\n```\r\nng build rules \r\nng build material-rules\r\nng build material-app\r\nng serve material-app\r\n```\r\n\r\nNow `ng build material-app` fails with **NG6002 &  NG6003** errors.\r\n\r\nBut if I follow #35536, and run ` npx ngcc && ngcc -s dist` before building `material-app`, all works. so Running:\r\n\r\n```\r\nrm -Rf dist && ng build rules && ng build material-rules && npx ngcc && ngcc -s dist\r\nng build material-app\r\n```\r\nfixes problem \r\n\r\n## 🔬 Minimal Reproduction \r\n\r\n```\r\ngit clone -b ng9 https://github.com/ngx-meta/rules.git\r\ncd rules/\r\nnpm install\r\n\r\n// Now you can run to see errors\r\nrm -Rf dist && ng build rules && ng build material-rules && ng build material-app\r\n\r\n// run to fix it\r\nrm -Rf dist && ng build rules && ng build material-rules && npx ngcc && ngcc -s dist\r\nng build material-app\r\n\r\n```\r\n\r\n\r\n\r\n## 🔥 Exception or Error\r\n\u003cpre>\u003ccode>\r\n\r\nERROR in dist/libs/rules/lib/metaui/rules.module.d.ts:27:22 - error NG6002: Appears in the NgModule.imports of MetaUILibLayoutModule, but could not be resolved to an NgModule class.\r\n\r\nThis likely means that the dependency (@ngx-metaui/rules) which declares MetaUIRulesModule has not been processed correctly by ngcc.\r\n\r\n27 export declare class MetaUIRulesModule {\r\n                        ~~~~~~~~~~~~~~~~~\r\nlibs/material-rules/src/lib/metaui/meta-ui-layout.module.ts:71:14 - error NG6002: Appears in the NgModule.imports of MaterialRulesModule, but itself has errors\r\n\r\n71 export class MetaUILibLayoutModule {\r\n                ~~~~~~~~~~~~~~~~~~~~~\r\ndist/libs/rules/lib/metaui/rules.module.d.ts:27:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class.\r\n\r\nThis likely means that the dependency (@ngx-metaui/rules) which declares MetaUIRulesModule has not been processed correctly by ngcc.\r\n\r\n27 export declare class MetaUIRulesModule {\r\n                        ~~~~~~~~~~~~~~~~~\r\nlibs/material-rules/src/lib/material-rules.module.ts:40:14 - error NG6002: Appears in the NgModule.imports of AppModule, but itself has errors\r\n\r\n40 export class MaterialRulesModule {\r\n\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: 9.0.6\r\nNode: 12.0.0\r\nOS: darwin x64\r\n\r\nAngular: 9.0.7\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router\r\nIvy Workspace: Yes\r\n\r\nPackage                            Version\r\n------------------------------------------------------------\r\n@angular-devkit/architect          0.900.6\r\n@angular-devkit/build-angular      0.900.6\r\n@angular-devkit/build-ng-packagr   0.900.6\r\n@angular-devkit/build-optimizer    0.900.6\r\n@angular-devkit/build-webpack      0.900.6\r\n@angular-devkit/core               9.0.7\r\n@angular-devkit/schematics         9.0.7\r\n@angular/cdk                       9.1.2\r\n@angular/cli                       9.0.6\r\n@angular/material                  9.1.2\r\n@ngtools/webpack                   9.0.6\r\n@schematics/angular                9.0.6\r\n@schematics/update                 0.900.6\r\nng-packagr                         9.0.3\r\nrxjs                               6.5.4\r\ntypescript                         3.7.5\r\nwebpack                            4.41.2\r\n\u003c/code>\u003c/pre>\r\n","author":{"url":"https://github.com/fkolar","@type":"Person","name":"fkolar"},"datePublished":"2020-03-21T17:53:20Z","url":"https://github.com/angular/angular/issues/36185"}

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:28d82f1d-0c25-53d0-ebe1-9356da182d67
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD4FE:1F7384:162F377:1D4EEE2:6B013176
html-safe-nonce0c8c67903480a6af4376bae03fc485637136b59c342ba23e0cf95141dbe86504
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEZFOjFGNzM4NDoxNjJGMzc3OjFENEVFRTI6NkIwMTMxNzYiLCJ2aXNpdG9yX2lkIjoiODc0NzM4NTIwODY0ODU3NzM5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0b4f3943c12811fd516ddfd1d25b466240072d4ed4e5acf8b7861c173c0f4e37
hovercard-subject-tagissue:585547277
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/36185/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d771b10f9064e418c844076fc4fb59d5aed0f3cdf13a3f32904be1f8cf5bf5ca/angular/angular/issues/36185
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d771b10f9064e418c844076fc4fb59d5aed0f3cdf13a3f32904be1f8cf5bf5ca/angular/angular/issues/36185
og:image:alt🐞 bug report Affected Package There is a similar problem #35536 and if I follow instructions from this issue it works as a workaround Is this a regression? Yes. NG8 has no problem compiling local l...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefkolar
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/36185#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F36185
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%2F36185
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/36185
Reloadhttps://github.com/angular/angular/issues/36185
Reloadhttps://github.com/angular/angular/issues/36185
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues836 (836)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/36185
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/36185
Error NG6002: Upgraded LIB to NG9https://github.com/angular/angular/issues/36185#top
area: compilerIssues related to `ngc`, Angular's template compilerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20compiler%22
needsTriagehttps://github.com/angular/angular/milestone/83
https://github.com/fkolar
fkolarhttps://github.com/fkolar
on Mar 21, 2020https://github.com/angular/angular/issues/36185#issue-585547277
#35536https://github.com/angular/angular/issues/35536
MetaUIhttps://github.com/ngx-meta/rules/tree/ng9
#35536https://github.com/angular/angular/issues/35536
https://github.com/fkolar
fkolarhttps://github.com/fkolar
on Mar 21, 2020https://github.com/angular/angular/issues/36185#issuecomment-602079340
@petebacondarwinhttps://github.com/petebacondarwin
#35536https://github.com/angular/angular/issues/35536
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Mar 23, 2020https://github.com/angular/angular/issues/36185#issuecomment-602799469
https://github.com/vthinkxie
vthinkxiehttps://github.com/vthinkxie
on Mar 24, 2020https://github.com/angular/angular/issues/36185#issuecomment-602983136
@petebacondarwinhttps://github.com/petebacondarwin
NG-ZORRO/ng-zorro-antd#4917 (comment)https://github.com/NG-ZORRO/ng-zorro-antd/issues/4917#issuecomment-602701057
pkozlowski-opensourcehttps://github.com/pkozlowski-opensource
area: compilerIssues related to `ngc`, Angular's template compilerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20compiler%22
on Mar 24, 2020https://github.com/angular/angular/issues/36185#event-3158356472
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Mar 24, 2020https://github.com/angular/angular/issues/36185#event-3158356499
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Mar 24, 2020https://github.com/angular/angular/issues/36185#issuecomment-603428363
#36216https://github.com/angular/angular/issues/36216
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Mar 24, 2020https://github.com/angular/angular/issues/36185#issuecomment-603493558
@fkolarhttps://github.com/fkolar
https://github.com/fkolar
fkolarhttps://github.com/fkolar
on Mar 24, 2020https://github.com/angular/angular/issues/36185#issuecomment-603498129
@petebacondarwinhttps://github.com/petebacondarwin
https://github.com/angular/angularhttps://github.com/angular/angular
https://github.com/angular/angular/tree/master/modules/playgroundhttps://github.com/angular/angular/tree/master/modules/playground
https://github.com/fkolar
fkolarhttps://github.com/fkolar
on Mar 24, 2020https://github.com/angular/angular/issues/36185#issuecomment-603500630
@petebacondarwinhttps://github.com/petebacondarwin
fkolarhttps://github.com/fkolar
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 24, 2020https://github.com/angular/angular/issues/36185#event-3161535465
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Mar 24, 2020https://github.com/angular/angular/issues/36185#issuecomment-603501001
https://github.com/boskiv
boskivhttps://github.com/boskiv
on Mar 27, 2020https://github.com/angular/angular/issues/36185#issuecomment-605286301
NG-ZORRO/ng-zorro-antd#4917https://github.com/NG-ZORRO/ng-zorro-antd/issues/4917
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Mar 28, 2020https://github.com/angular/angular/issues/36185#issuecomment-605524795
#36249https://github.com/angular/angular/pull/36249
@boskivhttps://github.com/boskiv
https://github.com/boskiv
boskivhttps://github.com/boskiv
on Mar 29, 2020https://github.com/angular/angular/issues/36185#issuecomment-605662290
https://github.com/boskiv/nx-zorrohttps://github.com/boskiv/nx-zorro
https://github.com/boskiv/plain-zorrohttps://github.com/boskiv/plain-zorro
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Mar 29, 2020https://github.com/angular/angular/issues/36185#issuecomment-605676281
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Mar 29, 2020https://github.com/angular/angular/issues/36185#issuecomment-605680522
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Mar 29, 2020https://github.com/angular/angular/issues/36185#issuecomment-605681197
#36305https://github.com/angular/angular/pull/36305
https://github.com/petebacondarwin
petebacondarwinhttps://github.com/petebacondarwin
on Mar 29, 2020https://github.com/angular/angular/issues/36185#issuecomment-605696935
#36305https://github.com/angular/angular/pull/36305
@boskivhttps://github.com/boskiv
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Apr 29, 2020https://github.com/angular/angular/issues/36185#issuecomment-621308787
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 Apr 29, 2020https://github.com/angular/angular/issues/36185#event-3285335780
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/36185
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/36185
area: compilerIssues related to `ngc`, Angular's template compilerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20compiler%22
needsTriageNo due datehttps://github.com/angular/angular/milestone/83
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.