René's URL Explorer Experiment


Title: AOT error when referencing components from another project · Issue #6059 · angular/angular-cli · GitHub

Open Graph Title: AOT error when referencing components from another project · Issue #6059 · angular/angular-cli

X Title: AOT error when referencing components from another project · Issue #6059 · angular/angular-cli

Description: Bug Report or Feature Request (mark with an x) - [x ] bug report -> please search issues before submitting - [ ] feature request Versions. $ ng --version @angular/cli: 1.0.0 node: 7.8.0 os: linux x64 @angular/common: 4.0.3 @angular/compi...

Open Graph Description: Bug Report or Feature Request (mark with an x) - [x ] bug report -> please search issues before submitting - [ ] feature request Versions. $ ng --version @angular/cli: 1.0.0 node: 7.8.0 os: linux x...

X Description: Bug Report or Feature Request (mark with an x) - [x ] bug report -> please search issues before submitting - [ ] feature request Versions. $ ng --version @angular/cli: 1.0.0 node: 7.8.0 os: linu...

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

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AOT error when referencing components from another project","articleBody":"\u003c!--\r\nIF YOU DON'T FILL OUT THE FOLLOWING INFORMATION YOUR ISSUE MIGHT BE CLOSED WITHOUT INVESTIGATING\r\n--\u003e\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [x ] bug report -\u003e 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--\u003e\r\n$ ng --version\r\n\r\n@angular/cli: 1.0.0\r\nnode: 7.8.0\r\nos: linux x64\r\n@angular/common: 4.0.3\r\n@angular/compiler: 4.0.3\r\n@angular/core: 4.0.3\r\n@angular/forms: 4.0.3\r\n@angular/http: 4.0.3\r\n@angular/platform-browser: 4.0.3\r\n@angular/platform-browser-dynamic: 4.0.3\r\n@angular/router: 4.0.3\r\n@angular/cli: 1.0.0\r\n@angular/compiler-cli: 4.0.3\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--\u003e\r\nClone the git project : https://github.com/mbail/aot-error.git\r\nnpm install\r\nnpm run build (or ng build --aot)\r\n\r\nThis is a bug when building with AOT (it builds fine with JIT).\r\n\r\nI have two projects. The project A has a (git) dependency on project B. The project B contains a ParentComponent whose template refers to a child component selector (\u003cchild\u003e). The project A contains the ChildComponent (with selector \u003cchild\u003e), and a module declaring the two components (ParentComponent and ChildComponent).\r\n\r\n### The log given by the failure.\r\n\u003c!-- Normally this include a stack trace and some more information. --\u003e\r\n\r\nERROR in /home/muriel/Workspace/aot-error/src/$$_gendir/node_modules/aot-error-dep/src/app/parent.component.ngfactory.ts (1,1): Cannot find module '../../../../../$_gendir/app/child.component.ngfactory'.\r\n\r\nERROR in ./src/$$_gendir/~/aot-error-dep/src/app/parent.component.ngfactory.ts\r\nModule not found: Error: Can't resolve '../../../../../$_gendir/app/child.component.ngfactory' in '/home/muriel/Workspace/aot-error/src/$$_gendir/node_modules/aot-error-dep/src/app'\r\n @ ./src/$$_gendir/~/aot-error-dep/src/app/parent.component.ngfactory.ts 8:0-81\r\n @ ./src/$$_gendir/app/app.module.ngfactory.ts\r\n @ ./src/main.ts\r\n @ multi ./src/main.ts\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--\u003e\r\nNo error when building AOT, just like the JIT.\r\nI need to have components in an external git project used to be shared with multiple other projects. So I need to be able to have a parent component in another project that the project containing the child component.\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. --\u003e\r\n\r\n","author":{"url":"https://github.com/mbail","@type":"Person","name":"mbail"},"datePublished":"2017-04-24T12:39:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/6059/angular-cli/issues/6059"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e1555e1d-f915-2774-700d-aa1526246fec
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEB54:54BD2:5E0108:7D9ADE:6973F420
html-safe-nonced7faa952d3a99ea7af30c3980fb905e9ef551bf934e3990d98d109aca490e011
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjU0OjU0QkQyOjVFMDEwODo3RDlBREU6Njk3M0Y0MjAiLCJ2aXNpdG9yX2lkIjoiMTczNTY1MDg2NjUyNzIwNDM4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace64094f0c71e8567038f0dd47a188e78242fba80d48ecf401d7b8c2a17083006
hovercard-subject-tagissue:223806011
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/6059/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d58518101a489cc31b5f1120ea0e1625c5d252d1643b6d92177685a5303136e7/angular/angular-cli/issues/6059
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d58518101a489cc31b5f1120ea0e1625c5d252d1643b6d92177685a5303136e7/angular/angular-cli/issues/6059
og:image:altBug Report or Feature Request (mark with an x) - [x ] bug report -> please search issues before submitting - [ ] feature request Versions. $ ng --version @angular/cli: 1.0.0 node: 7.8.0 os: linux x...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamembail
hostnamegithub.com
expected-hostnamegithub.com
Noneedd166dbd7a8c69304dd0f786a2ceae171d7a532d7f82516d7b971b6a831123e
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
release7f2d62d773fd1f2c679e2ea93329a72fda65310a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/angular/angular-cli/issues/6059#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F6059
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F6059
Sign up https://patch-diff.githubusercontent.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://patch-diff.githubusercontent.com/angular/angular-cli/issues/6059
Reloadhttps://patch-diff.githubusercontent.com/angular/angular-cli/issues/6059
Reloadhttps://patch-diff.githubusercontent.com/angular/angular-cli/issues/6059
angular https://patch-diff.githubusercontent.com/angular
angular-clihttps://patch-diff.githubusercontent.com/angular/angular-cli
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fangular%2Fangular-cli
Fork 11.9k https://patch-diff.githubusercontent.com/login?return_to=%2Fangular%2Fangular-cli
Star 27k https://patch-diff.githubusercontent.com/login?return_to=%2Fangular%2Fangular-cli
Code https://patch-diff.githubusercontent.com/angular/angular-cli
Issues 264 https://patch-diff.githubusercontent.com/angular/angular-cli/issues
Pull requests 30 https://patch-diff.githubusercontent.com/angular/angular-cli/pulls
Actions https://patch-diff.githubusercontent.com/angular/angular-cli/actions
Security 1 https://patch-diff.githubusercontent.com/angular/angular-cli/security
Insights https://patch-diff.githubusercontent.com/angular/angular-cli/pulse
Code https://patch-diff.githubusercontent.com/angular/angular-cli
Issues https://patch-diff.githubusercontent.com/angular/angular-cli/issues
Pull requests https://patch-diff.githubusercontent.com/angular/angular-cli/pulls
Actions https://patch-diff.githubusercontent.com/angular/angular-cli/actions
Security https://patch-diff.githubusercontent.com/angular/angular-cli/security
Insights https://patch-diff.githubusercontent.com/angular/angular-cli/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/angular/angular-cli/issues/6059
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/angular/angular-cli/issues/6059
AOT error when referencing components from another projecthttps://patch-diff.githubusercontent.com/angular/angular-cli/issues/6059#top
https://github.com/mbail
https://github.com/mbail
mbailhttps://github.com/mbail
on Apr 24, 2017https://github.com/angular/angular-cli/issues/6059#issue-223806011
https://github.com/mbail/aot-error.githttps://github.com/mbail/aot-error.git
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.