René's URL Explorer Experiment


Title: Module resolution is broken when wildcard path exists · Issue #10376 · angular/angular-cli · GitHub

Open Graph Title: Module resolution is broken when wildcard path exists · Issue #10376 · angular/angular-cli

X Title: Module resolution is broken when wildcard path exists · Issue #10376 · angular/angular-cli

Description: Versions _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___| |___/ Ang...

Open Graph Description: Versions _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__...

X Description: Versions _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Module resolution is broken when wildcard path exists","articleBody":"### Versions\r\n```\r\n    _                      _                 ____ _     ___\r\n   / \\   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|\r\n  / △ \\ | '_ \\ / _` | | | | |/ _` | '__|   | |   | |    | |\r\n / ___ \\| | | | (_| | |_| | | (_| | |      | |___| |___ | |\r\n/_/   \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_|       \\____|_____|___|\r\n               |___/\r\n    \r\nAngular CLI: 1.7.4\r\nNode: 9.9.0\r\nOS: darwin x64\r\nAngular: 5.2.10\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, router\r\n\r\n```\r\n\r\n### Repro steps\r\n\r\nAdd the following to tsconfig.json:\r\n\r\n1. Create a new CLI project:\r\n\r\n`ng new angular-cli-is-broken`\r\n\r\n2. Add a wildcard path mapping to the tsconfig:\r\n\r\n```js\r\n\"paths\": {\r\n  \"*\": [\"./src/app/*\"]\r\n}\r\n```\r\n\r\n3. Build the project:\r\n\r\n```\r\nnpm run build\r\n```\r\n\r\n### Observed behavior\r\n\r\nResolution of modules does not work:\r\n\r\n```\r\nERROR in ./src/app/app.module.ngfactory.js\r\nModule not found: Error: Can't resolve '/Users/jon/GitHub/angular-cli-is-broken/src/src/app/@angular/common' in '/Users/jon/GitHub/angular-cli-is-broken/src/app'\r\n```\r\n\r\nEtc.\r\n\r\n\r\n### Desired behavior\r\n\r\nIt should resolve modules correctly, as it did in 1.6.\r\n\r\n### Mention any other details that might be useful (optional)\r\n\r\nThis worked perfectly in 1.6. You can confirm this by regressing the CLI version in package.json to 1.6, and confirming that `ng build` now works.\r\n\r\n","author":{"url":"https://github.com/jonrimmer","@type":"Person","name":"jonrimmer"},"datePublished":"2018-04-18T11:17:50Z","url":"https://github.com/angular/angular-cli/issues/10376"}

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:63cbeb72-afd7-225a-c9d9-d63d481c6120
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9954:3A73AA:35773BD:43C028C:6B021B7A
html-safe-nonceb9a42db09c678c7e5849612909aec1976af8f6697d9d9150367c948fb28a63b6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTU0OjNBNzNBQTozNTc3M0JEOjQzQzAyOEM6NkIwMjFCN0EiLCJ2aXNpdG9yX2lkIjoiMzc1OTQyMTY3NTI2Mzg5MjM0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac10d5b9c2acb94f5e71618dff3f6035c62e2f61499a20dccd019e3f39689ed6f6
hovercard-subject-tagissue:315437274
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/10376/issue_layout
twitter:imagehttps://opengraph.githubassets.com/06374f20ea81bd858304b79a5266bf98a413fefc0ce53512665cdb017f2fdfd1/angular/angular-cli/issues/10376
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/06374f20ea81bd858304b79a5266bf98a413fefc0ce53512665cdb017f2fdfd1/angular/angular-cli/issues/10376
og:image:altVersions _ _ ____ _ ___ / \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _| / △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | | / ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | | /_/ \_\_| |_|\__, |\__...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejonrimmer
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/10376#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F10376
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%2F10376
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/10376
Reloadhttps://github.com/angular/angular-cli/issues/10376
Reloadhttps://github.com/angular/angular-cli/issues/10376
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/10376
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/10376
#11575https://github.com/angular/angular-cli/pull/11575
Module resolution is broken when wildcard path existshttps://github.com/angular/angular-cli/issues/10376#top
#11575https://github.com/angular/angular-cli/pull/11575
https://github.com/jonrimmer
jonrimmerhttps://github.com/jonrimmer
on Apr 18, 2018https://github.com/angular/angular-cli/issues/10376#issue-315437274
https://github.com/clydin
clydinhttps://github.com/clydin
on Apr 19, 2018https://github.com/angular/angular-cli/issues/10376#issuecomment-382748956
http://www.typescriptlang.org/docs/handbook/module-resolution.htmlhttp://www.typescriptlang.org/docs/handbook/module-resolution.html
clydinhttps://github.com/clydin
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 19, 2018https://github.com/angular/angular-cli/issues/10376#event-1583901667
https://github.com/jonrimmer
jonrimmerhttps://github.com/jonrimmer
on Apr 19, 2018https://github.com/angular/angular-cli/issues/10376#issuecomment-382779547
@clydinhttps://github.com/clydin
https://github.com/jonrimmer/ts-module-resolutionhttps://github.com/jonrimmer/ts-module-resolution
https://github.com/jonrimmer
jonrimmerhttps://github.com/jonrimmer
on Apr 20, 2018https://github.com/angular/angular-cli/issues/10376#issuecomment-383031135
@clydinhttps://github.com/clydin
clydinhttps://github.com/clydin
on Aug 10, 2018https://github.com/angular/angular-cli/issues/10376#event-1781450397
hanslhttps://github.com/hansl
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#11575https://github.com/angular/angular-cli/pull/11575
on Sep 26, 2018https://github.com/angular/angular-cli/issues/10376#event-1868252488
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 8, 2019https://github.com/angular/angular-cli/issues/10376#issuecomment-529219524
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 8, 2019https://github.com/angular/angular-cli/issues/10376#event-2616856241
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/10376
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/10376
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.