René's URL Explorer Experiment


Title: tsconfig paths and module resolution errors in VS Code · Issue #8138 · angular/angular-cli · GitHub

Open Graph Title: tsconfig paths and module resolution errors in VS Code · Issue #8138 · angular/angular-cli

X Title: tsconfig paths and module resolution errors in VS Code · Issue #8138 · 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.4.9 node: 7.9.0 os: darwin x64 @angular/animations: 4.4.5 @angular/common: 4.4.5 @a...

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.4.9 node: 7.9.0 os: darwin x64 @angular/ani...

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.4.9 node: 7.9.0 os: darwin x64 @angular/...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tsconfig paths and module resolution errors in VS Code","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\r\n\u003e @angular/cli: 1.4.9\r\nnode: 7.9.0\r\nos: darwin x64\r\n@angular/animations: 4.4.5\r\n@angular/common: 4.4.5\r\n@angular/compiler: 4.4.5\r\n@angular/core: 4.4.5\r\n@angular/forms: 4.4.5\r\n@angular/http: 4.4.5\r\n@angular/platform-browser: 4.4.5\r\n@angular/platform-browser-dynamic: 4.4.5\r\n@angular/router: 4.4.5\r\n@angular/cli: 1.4.9\r\n@angular/compiler-cli: 4.4.5\r\ntypescript: 2.3.4\r\n\r\nmacOS Sierra 10.12.6\r\nVS Code 1.17.2\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\nMy tsconfig path property seems broken.\r\nWhen I replace my path mapped imports (@shared, @assets etc.) with the equivalent coded relative paths, typescript module resolution seems to work (vs code intellisense is happy)\r\nI have a large angular 2 project and am used to aliasing my asset and shared directories this way.\r\nNOTE: project builds and (seems) to run just fine\r\nThis has been reported often, but I can't make sense of the current state of this issue.\r\nThis more than annoying as VS Code reports Angular spurious errors on all of my components.\r\nI also suspect this is why I get the infamous Can't read property isSkipSelf of null when I open my templates (html) in VS Code.\r\nI was running 1.4.2 and just tried ~1.4.2, which resolves to 1.4.9 in my package.json, to no avail.\r\nWill 1.5.x fix this?\r\nHow can I help debug this without providing a copy of my app?\r\n\r\nThanks in advance. Regards.\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\n\r\n### Desired functionality.\r\n\u003c!--\r\nWhat would like to see implemented?\r\nWhat is the usecase?\r\n--\u003e\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. --\u003e\r\n\r\n","author":{"url":"https://github.com/SpiraMira","@type":"Person","name":"SpiraMira"},"datePublished":"2017-10-21T08:10:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":42},"url":"https://github.com/8138/angular-cli/issues/8138"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a10bb741-6035-7013-a89b-89cf233d41dd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9592:194F15:34E6805:48E54E8:696502B0
html-safe-nonce55022c3dd5ab0db3ec32b2d0eb7e9f463fe9060a05a869ab41420e7cf86b154f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTkyOjE5NEYxNTozNEU2ODA1OjQ4RTU0RTg6Njk2NTAyQjAiLCJ2aXNpdG9yX2lkIjoiNjY0MTE1MTAzNjQxNzcwNDYyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac38ddd042623bff2292cee1c2c20bb3b44903c4256518db6afaf9a8c19499db4b
hovercard-subject-tagissue:267361011
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/8138/issue_layout
twitter:imagehttps://opengraph.githubassets.com/005e3fe3b216d886ef017e596c1152e1ab28b7d1ca9927c34c5fb8320589ce7f/angular/angular-cli/issues/8138
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/005e3fe3b216d886ef017e596c1152e1ab28b7d1ca9927c34c5fb8320589ce7f/angular/angular-cli/issues/8138
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.4.9 node: 7.9.0 os: darwin x64 @angular/ani...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSpiraMira
hostnamegithub.com
expected-hostnamegithub.com
None409eef8307c7b2774ef22b51d9c9bea7aae00b7c42378f10825b0de95e35b3d8
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
release0f2726e2829a4524ee45b32f55dabe51189d33b0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular-cli/issues/8138#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F8138
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F8138
Sign up https://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/8138
Reloadhttps://github.com/angular/angular-cli/issues/8138
Reloadhttps://github.com/angular/angular-cli/issues/8138
angular https://github.com/angular
angular-clihttps://github.com/angular/angular-cli
Notifications https://github.com/login?return_to=%2Fangular%2Fangular-cli
Fork 11.9k https://github.com/login?return_to=%2Fangular%2Fangular-cli
Star 27k https://github.com/login?return_to=%2Fangular%2Fangular-cli
Code https://github.com/angular/angular-cli
Issues 264 https://github.com/angular/angular-cli/issues
Pull requests 22 https://github.com/angular/angular-cli/pulls
Actions https://github.com/angular/angular-cli/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/angular/angular-cli/security
Please reload this pagehttps://github.com/angular/angular-cli/issues/8138
Insights https://github.com/angular/angular-cli/pulse
Code https://github.com/angular/angular-cli
Issues https://github.com/angular/angular-cli/issues
Pull requests https://github.com/angular/angular-cli/pulls
Actions https://github.com/angular/angular-cli/actions
Security https://github.com/angular/angular-cli/security
Insights https://github.com/angular/angular-cli/pulse
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/8138
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/8138
#17586https://github.com/angular/angular-cli/pull/17586
tsconfig paths and module resolution errors in VS Codehttps://github.com/angular/angular-cli/issues/8138#top
#17586https://github.com/angular/angular-cli/pull/17586
https://github.com/alan-agius4
area: @schematics/angularhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40schematics%2Fangular%22
freq2: mediumhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
severity2: inconvenienthttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity2%3A%20inconvenient%22
type: RFC / discussion / questionhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20RFC%20%2F%20discussion%20%2F%20question%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
Backloghttps://github.com/angular/angular-cli/milestone/12
https://github.com/SpiraMira
https://github.com/SpiraMira
SpiraMirahttps://github.com/SpiraMira
on Oct 21, 2017https://github.com/angular/angular-cli/issues/8138#issue-267361011
@sharedhttps://github.com/shared
@assetshttps://github.com/assets
alan-agius4https://github.com/alan-agius4
area: @schematics/angularhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22area%3A%20%40schematics%2Fangular%22
freq2: mediumhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
severity2: inconvenienthttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22severity2%3A%20inconvenient%22
type: RFC / discussion / questionhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20RFC%20%2F%20discussion%20%2F%20question%22
type: bug/fixhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
BacklogNo due datehttps://github.com/angular/angular-cli/milestone/12
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.