René's URL Explorer Experiment


Title: tsconfig.app.json types are ignored · Issue #5351 · angular/angular-cli · GitHub

Open Graph Title: tsconfig.app.json types are ignored · Issue #5351 · angular/angular-cli

X Title: tsconfig.app.json types are ignored · Issue #5351 · angular/angular-cli

Description: Please provide us with the following information: OS? Windows 10 x64 Versions. @angular/cli: 1.0.0-rc.1 node: 6.9.1 os: win32 x64 Repro steps. Update package.json from @angular/cli": "1.0.0-rc.0 to @angular/cli": "1.0.0-rc.1. The log giv...

Open Graph Description: Please provide us with the following information: OS? Windows 10 x64 Versions. @angular/cli: 1.0.0-rc.1 node: 6.9.1 os: win32 x64 Repro steps. Update package.json from @angular/cli": "1.0.0-rc.0 to...

X Description: Please provide us with the following information: OS? Windows 10 x64 Versions. @angular/cli: 1.0.0-rc.1 node: 6.9.1 os: win32 x64 Repro steps. Update package.json from @angular/cli": "1.0...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tsconfig.app.json types are ignored","articleBody":"> Please provide us with the following information:\r\n> ---------------------------------------------------------------\r\n\r\n### OS?\r\nWindows 10 x64\r\n\r\n### Versions.\r\n@angular/cli: 1.0.0-rc.1\r\nnode: 6.9.1\r\nos: win32 x64\r\n\r\n\r\n### Repro steps.\r\nUpdate package.json from `@angular/cli\": \"1.0.0-rc.0` to `@angular/cli\": \"1.0.0-rc.1`. \r\n\r\n\r\n### The log given by the failure.\r\n`Cannot find name 'require'`\r\n`Cannot find namespace 'ol'`\r\n`Cannot find name 'describe'`\r\n`Cannot find name 'beforeEach'`\r\n`Cannot find name 'it'`\r\n`Cannot find name 'expect'`\r\n\r\n\r\n### Mention any other details that might be useful.\r\nWhen using certain 3rd party libraries or `require()`  you need to add the types to the `tsconfig.app.json` as described here https://github.com/angular/angular-cli/wiki/stories-third-party-lib. In the latest RC1 it looks like the `types` option is ignored resulting the above error.  If I remove the `types` entry and replace it with the global `typeRoots` entry it seems to work but is not ideal to pull in all types.  This also affects the `tsconfig.spec.json`.\r\n\r\n## Breaks in RC1, used to work in RC0\r\n```\r\n{\r\n  \"compilerOptions\": {\r\n    \"sourceMap\": true,\r\n    \"declaration\": false,\r\n    \"moduleResolution\": \"node\",\r\n    \"emitDecoratorMetadata\": true,\r\n    \"experimentalDecorators\": true,\r\n    \"lib\": [\r\n      \"es2016\",\r\n      \"dom\"\r\n    ],\r\n    \"outDir\": \"../out-tsc/app\",\r\n    \"target\": \"es5\",\r\n    \"module\": \"es2015\",\r\n    \"baseUrl\": \"\",\r\n    \"types\": [\r\n      \"node\",\r\n      \"openlayers\"\r\n    ]\r\n  },\r\n  \"exclude\": [\r\n    \"test.ts\",\r\n    \"**/*.spec.ts\"\r\n  ]\r\n}\r\n```\r\n\r\n## Work around for RC1\r\n```\r\n{\r\n  \"compilerOptions\": {\r\n    \"sourceMap\": true,\r\n    \"declaration\": false,\r\n    \"moduleResolution\": \"node\",\r\n    \"emitDecoratorMetadata\": true,\r\n    \"experimentalDecorators\": true,\r\n    \"lib\": [\r\n      \"es2016\",\r\n      \"dom\"\r\n    ],\r\n    \"outDir\": \"../out-tsc/app\",\r\n    \"target\": \"es5\",\r\n    \"module\": \"es2015\",\r\n    \"baseUrl\": \"\",\r\n    \"typeRoots\": [\r\n      \"../node_modules/@types\"\r\n    ]\r\n  },\r\n  \"exclude\": [\r\n    \"test.ts\",\r\n    \"**/*.spec.ts\"\r\n  ]\r\n}\r\n```\r\n","author":{"url":"https://github.com/coryrylan","@type":"Person","name":"coryrylan"},"datePublished":"2017-03-09T19:08:40Z","url":"https://github.com/angular/angular-cli/issues/5351"}

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:99e6cac2-af5e-ad47-1278-1bb0ae1575eb
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA848:F8C5C:1150A38:15C1E34:6B023A9D
html-safe-nonce8b9b2c39d7d4f6859e9e2d8adbcf524051feeb03e9b97348fd5c7770b8f6e39f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODQ4OkY4QzVDOjExNTBBMzg6MTVDMUUzNDo2QjAyM0E5RCIsInZpc2l0b3JfaWQiOiI0OTU4Nzk2MTAzMDM1MjcxODM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4bf3fc44ad722a905dfc41e215f834507ded150f7593a8e1cec77d276dbd8dbc
hovercard-subject-tagissue:213134630
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/5351/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e96afb00905232da138e9ee36d28c48c040fb97060481efe70988f45c854a49c/angular/angular-cli/issues/5351
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e96afb00905232da138e9ee36d28c48c040fb97060481efe70988f45c854a49c/angular/angular-cli/issues/5351
og:image:altPlease provide us with the following information: OS? Windows 10 x64 Versions. @angular/cli: 1.0.0-rc.1 node: 6.9.1 os: win32 x64 Repro steps. Update package.json from @angular/cli": "1.0.0-rc.0 to...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecoryrylan
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/5351#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular-cli%2Fissues%2F5351
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%2F5351
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/5351
Reloadhttps://github.com/angular/angular-cli/issues/5351
Reloadhttps://github.com/angular/angular-cli/issues/5351
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/5351
New issuehttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/5351
#5504https://github.com/angular/angular-cli/pull/5504
tsconfig.app.json types are ignoredhttps://github.com/angular/angular-cli/issues/5351#top
#5504https://github.com/angular/angular-cli/pull/5504
needs: repro stepsWe cannot reproduce the issue with the information givenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20repro%20steps%22
https://github.com/coryrylan
coryrylanhttps://github.com/coryrylan
on Mar 9, 2017https://github.com/angular/angular-cli/issues/5351#issue-213134630
https://github.com/angular/angular-cli/wiki/stories-third-party-libhttps://github.com/angular/angular-cli/wiki/stories-third-party-lib
https://github.com/GustavoMantuan
GustavoMantuanhttps://github.com/GustavoMantuan
on Mar 11, 2017https://github.com/angular/angular-cli/issues/5351#issuecomment-285837437
https://github.com/zurie
zuriehttps://github.com/zurie
on Mar 17, 2017https://github.com/angular/angular-cli/issues/5351#issuecomment-287365277
https://github.com/filipesilva
filipesilvahttps://github.com/filipesilva
on Mar 17, 2017https://github.com/angular/angular-cli/issues/5351#issuecomment-287495904
https://github.com/angular/angular-cli/wiki/stories-third-party-libhttps://github.com/angular/angular-cli/wiki/stories-third-party-lib
filipesilvahttps://github.com/filipesilva
needs: repro stepsWe cannot reproduce the issue with the information givenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20repro%20steps%22
on Mar 17, 2017https://github.com/angular/angular-cli/issues/5351#event-1005295610
https://github.com/coryrylan
coryrylanhttps://github.com/coryrylan
on Mar 17, 2017https://github.com/angular/angular-cli/issues/5351#issuecomment-287496726
https://github.com/filipesilva
filipesilvahttps://github.com/filipesilva
on Mar 18, 2017https://github.com/angular/angular-cli/issues/5351#issuecomment-287580812
#5332https://github.com/angular/angular-cli/issues/5332
filipesilvahttps://github.com/filipesilva
on Mar 18, 2017https://github.com/angular/angular-cli/issues/5351#event-1005683843
fix(@angular/cli): fix test typingshttps://github.com/filipesilva/angular-cli/commit/4f05519c8d0e12391e7d16c9fa98638667110935
https://docs.github.com/articles/closing-issues-via-commit-messages
4f05519https://github.com/filipesilva/angular-cli/commit/4f05519c8d0e12391e7d16c9fa98638667110935
fix(@angular/cli): fix test typingshttps://github.com/filipesilva/angular-cli/commit/ad58c18758407e87bc972d23ef5a35b152272be7
https://docs.github.com/articles/closing-issues-via-commit-messages
ad58c18https://github.com/filipesilva/angular-cli/commit/ad58c18758407e87bc972d23ef5a35b152272be7
https://github.com/filipesilva
filipesilvahttps://github.com/filipesilva
on Mar 19, 2017https://github.com/angular/angular-cli/issues/5351#issuecomment-287624338
filipesilvahttps://github.com/filipesilva
on Mar 19, 2017https://github.com/angular/angular-cli/issues/5351#event-1005887440
fix(@angular/cli): fix test typingshttps://github.com/filipesilva/angular-cli/commit/73211d6c211e8d9dc16472f652331d36a4276896
https://docs.github.com/articles/closing-issues-via-commit-messages
73211d6https://github.com/filipesilva/angular-cli/commit/73211d6c211e8d9dc16472f652331d36a4276896
fix(@angular/cli): fix test typingshttps://github.com/filipesilva/angular-cli/commit/e6cfb7730c35dee1e456b89459934e57dd765e0c
https://docs.github.com/articles/closing-issues-via-commit-messages
e6cfb77https://github.com/filipesilva/angular-cli/commit/e6cfb7730c35dee1e456b89459934e57dd765e0c
fix(@angular/cli): fix test typingshttps://github.com/filipesilva/angular-cli/commit/eb63b6f17c3516c26b4d6c8a03da2d8241b90f55
https://docs.github.com/articles/closing-issues-via-commit-messages
eb63b6fhttps://github.com/filipesilva/angular-cli/commit/eb63b6f17c3516c26b4d6c8a03da2d8241b90f55
fix(@angular/cli): fix test typingshttps://github.com/filipesilva/angular-cli/commit/5ab01b7f5493789476dc2ace5f69df5b8cf27fa2
https://docs.github.com/articles/closing-issues-via-commit-messages
5ab01b7https://github.com/filipesilva/angular-cli/commit/5ab01b7f5493789476dc2ace5f69df5b8cf27fa2
fix(@angular/cli): fix test typingshttps://github.com/filipesilva/angular-cli/commit/e549f72e80f5c03ccc368e1aed62369ef0b434d5
https://docs.github.com/articles/closing-issues-via-commit-messages
e549f72https://github.com/filipesilva/angular-cli/commit/e549f72e80f5c03ccc368e1aed62369ef0b434d5
fix(@angular/cli): fix test typingshttps://github.com/filipesilva/angular-cli/commit/f8a34c14e1f9a749db42c3beb165781c612b6a77
https://docs.github.com/articles/closing-issues-via-commit-messages
f8a34c1https://github.com/filipesilva/angular-cli/commit/f8a34c14e1f9a749db42c3beb165781c612b6a77
fix(@angular/cli): fix test typingshttps://github.com/filipesilva/angular-cli/commit/31ece403ae1575b060d11859193c68e26b64e8fb
https://docs.github.com/articles/closing-issues-via-commit-messages
31ece40https://github.com/filipesilva/angular-cli/commit/31ece403ae1575b060d11859193c68e26b64e8fb
fix(@angular/cli): fix test typingshttps://github.com/filipesilva/angular-cli/commit/2d6d4e2a8dfb54aca2409745887cc177d24a33b8
https://docs.github.com/articles/closing-issues-via-commit-messages
2d6d4e2https://github.com/filipesilva/angular-cli/commit/2d6d4e2a8dfb54aca2409745887cc177d24a33b8
fix(@angular/cli): fix test typingshttps://github.com/filipesilva/angular-cli/commit/a560646391927438c9764279a58994ea2d721f51
https://docs.github.com/articles/closing-issues-via-commit-messages
a560646https://github.com/filipesilva/angular-cli/commit/a560646391927438c9764279a58994ea2d721f51
fix(@angular/cli): fix test typingshttps://github.com/filipesilva/angular-cli/commit/adabd880d44361b74edb3d14d32da192ba634bb7
https://docs.github.com/articles/closing-issues-via-commit-messages
adabd88https://github.com/filipesilva/angular-cli/commit/adabd880d44361b74edb3d14d32da192ba634bb7
hanslhttps://github.com/hansl
completedhttps://github.com/angular/angular-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#5504https://github.com/angular/angular-cli/pull/5504
on Mar 20, 2017https://github.com/angular/angular-cli/issues/5351#event-1006991320
hanslhttps://github.com/hansl
on Mar 20, 2017https://github.com/angular/angular-cli/issues/5351#event-1006991507
fix(@angular/cli): fix test typingshttps://github.com/angular/angular-cli/commit/303b2c035ade57019f567c4b5ec51c7d5268ebac
https://docs.github.com/articles/closing-issues-via-commit-messages
303b2c0https://github.com/angular/angular-cli/commit/303b2c035ade57019f567c4b5ec51c7d5268ebac
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 6, 2019https://github.com/angular/angular-cli/issues/5351#issuecomment-529037434
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 6, 2019https://github.com/angular/angular-cli/issues/5351#event-2615768724
mostafaibrhttps://github.com/mostafaibr
on May 29, 2026https://github.com/angular/angular-cli/issues/5351#event-26099509650
fix(@angular/cli): fix test typingshttps://github.com/mostafaibr/angular-cli/commit/586606e7194427d1bea1261eb7af755c83f7d0f6
https://docs.github.com/articles/closing-issues-via-commit-messages
586606ehttps://github.com/mostafaibr/angular-cli/commit/586606e7194427d1bea1261eb7af755c83f7d0f6
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular-cli/issues/5351
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular-cli/issues/5351
needs: repro stepsWe cannot reproduce the issue with the information givenhttps://github.com/angular/angular-cli/issues?q=state%3Aopen%20label%3A%22needs%3A%20repro%20steps%22
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.