Title: tsc should give an error if "typings" in package.json is not a string · Issue #4828 · microsoft/TypeScript · GitHub
Open Graph Title: tsc should give an error if "typings" in package.json is not a string · Issue #4828 · microsoft/TypeScript
X Title: tsc should give an error if "typings" in package.json is not a string · Issue #4828 · microsoft/TypeScript
Description: Courtesy of a long troubleshooting session with Gerasimos (Makis) Maropoulos (@kataras) on September 16, 2015. If you have "typings" in package.json as an array or something instead of a string, we will crash hard: C:\Users\Makis-PC\AppD...
Open Graph Description: Courtesy of a long troubleshooting session with Gerasimos (Makis) Maropoulos (@kataras) on September 16, 2015. If you have "typings" in package.json as an array or something instead of a string, we...
X Description: Courtesy of a long troubleshooting session with Gerasimos (Makis) Maropoulos (@kataras) on September 16, 2015. If you have "typings" in package.json as an array or something instead of a ...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/4828
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tsc should give an error if \"typings\" in package.json is not a string","articleBody":"Courtesy of [a long troubleshooting session](https://gitter.im/Microsoft/TypeScript?at=55f9e4b26f976dff036ed21c) with @kataras [on September 16, 2015](https://gitter.im/Microsoft/TypeScript?at=55f9e4b26f976dff036ed21c).\n\nIf you have `\"typings\"` in `package.json` as an array or something instead of a string, we will crash hard:\n\n```\nC:\\Users\\Makis-PC\\AppData\\Roaming\\npm\\node_modules\\typescript\\lib\\tsc.js:483\nif (path.charCodeAt(0) === 47) {\n^\nTypeError: path.charCodeAt is not a function\nat getRootLength (C:\\Users\\Makis-PC\\AppData\\Roaming\\npm\\node_modules\\typescript\\lib\\tsc.js:483:18)\nat Object.combinePaths (C:\\Users\\Makis-PC\\AppData\\Roaming\\npm\\node_modules\\typescript\\lib\\tsc.js:643:13)\nat loadNodeModuleFromDirectory (C:\\Users\\Makis-PC\\AppData\\Roaming\\npm\\node_modules\\typescript\\lib\\tsc.js:29439:73)\nat loadModuleFromNodeModules (C:\\Users\\Makis-PC\\AppData\\Roaming\\npm\\node_modules\\typescript\\lib\\tsc.js:29462:26)\nat nodeModuleNameResolver (C:\\Users\\Makis-PC\\AppData\\Roaming\\npm\\node_modules\\typescript\\lib\\tsc.js:29405:20)\nat resolveModuleName (C:\\Users\\Makis-PC\\AppData\\Roaming\\npm\\node_modules\\typescript\\lib\\tsc.js:29385:28)\nat C:\\Users\\Makis-PC\\AppData\\Roaming\\npm\\node_modules\\typescript\\lib\\tsc.js:29636:115\nat Object.map (C:\\Users\\Makis-PC\\AppData\\Roaming\\npm\\node_modules\\typescript\\lib\\tsc.js:155:29)\nat resolveModuleNamesWorker (C:\\Users\\Makis-PC\\AppData\\Roaming\\npm\\node_modules\\typescript\\lib\\tsc.js:29636:67)\nat processImportedModules (C:\\Users\\Makis-PC\\AppData\\Roaming\\npm\\node_modules\\typescript\\lib\\tsc.js:30013:35)\n```\n","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2015-09-16T22:31:20Z","url":"https://github.com/microsoft/TypeScript/issues/4828"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c50d67c5-b03f-95b8-9aa2-98fb1f6deaf3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 95CA:1EA667:A4145:E348C:6AFBB7EC |
| html-safe-nonce | aa89e28261f146a488fe195f40f595a3595c87ea5ada489fafe1dfc919fa3186 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NUNBOjFFQTY2NzpBNDE0NTpFMzQ4Qzo2QUZCQjdFQyIsInZpc2l0b3JfaWQiOiI0MTM3MzA4NjI2MTM1NzkxNTk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6f8c6d4944b63ce9480a47ec20925f5a97ecb5585fa85d0ebeb6aab17a8a1107 |
| hovercard-subject-tag | issue:106876859 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/4828/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a8dc6cdb474209f18102e93bf93220e5dd821edb70ee756a525ef8c301a14b39/microsoft/TypeScript/issues/4828 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a8dc6cdb474209f18102e93bf93220e5dd821edb70ee756a525ef8c301a14b39/microsoft/TypeScript/issues/4828 |
| og:image:alt | Courtesy of a long troubleshooting session with Gerasimos (Makis) Maropoulos (@kataras) on September 16, 2015. If you have "typings" in package.json as an array or something instead of a string, we... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DanielRosenwasser |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e4cce0e99cf61481a318ff12c2e8580153a6c7c6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width