Title: Uncaught TypeError with a local copy of d3-v4 · Issue #136 · microsoft/TypeScriptSamples · GitHub
Open Graph Title: Uncaught TypeError with a local copy of d3-v4 · Issue #136 · microsoft/TypeScriptSamples
X Title: Uncaught TypeError with a local copy of d3-v4 · Issue #136 · microsoft/TypeScriptSamples
Description: Hi Microsoft (@microsoft) team I've been trying to setup VsCode for d3 dev. and everything works fine if I just use the repo example from TypeScriptSamples but I need to be able to practice them locally with d3 So, I used curl -O https:/...
Open Graph Description: Hi Microsoft (@microsoft) team I've been trying to setup VsCode for d3 dev. and everything works fine if I just use the repo example from TypeScriptSamples but I need to be able to practice them lo...
X Description: Hi Microsoft (@microsoft) team I've been trying to setup VsCode for d3 dev. and everything works fine if I just use the repo example from TypeScriptSamples but I need to be able to practice the...
Opengraph URL: https://github.com/microsoft/TypeScriptSamples/issues/136
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Uncaught TypeError with a local copy of d3-v4","articleBody":"Hi @Microsoft team\r\n\r\nI've been trying to setup VsCode for d3 dev. and everything works fine if I just use the repo example from TypeScriptSamples but I need to be able to practice them locally with d3\r\n\r\nSo, I used \r\n\r\n` curl -O https://cdnjs.cloudflare.com/ajax/libs/d3/4.4.1/d3.js` \r\n\r\nand put the file in the folder and replaced `http://d3js.org/d3.v2.js` with `./d3.js`. But after adding the local reference the charts don't work and it raises the following error in the console\r\n\r\n`Uncaught TypeError: Cannot read property 'day' of undefined\r\n at data.ts:238` \r\n\r\nIt might be an error of versioning, could you guide me how to make it work locally?\r\n\r\nThanks :)","author":{"url":"https://github.com/abhi18av","@type":"Person","name":"abhi18av"},"datePublished":"2017-01-08T13:31:39Z","url":"https://github.com/microsoft/TypeScriptSamples/issues/136"}
| 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:18da0b94-e242-3a40-b255-4403f27b4617 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A8C6:11C492:3AFA1:50625:6B044BB9 |
| html-safe-nonce | f83dbe9dc52630bf2b034470e8bdd1b3b4f4a2991fc5f969472f491118d8cf42 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEM2OjExQzQ5MjozQUZBMTo1MDYyNTo2QjA0NEJCOSIsInZpc2l0b3JfaWQiOiI3NTA2NjM4NDMwMzYxODk3OTEzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fb2686b23a27f11db094103d0e4530d1b8af15999ddd68f25a852a088f6fd3ee |
| hovercard-subject-tag | issue:199422016 |
| 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/TypeScriptSamples/136/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a07affc56fa80083ce05273b1bd895e96af814869abaafc047d2e3fd0fe6584b/microsoft/TypeScriptSamples/issues/136 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a07affc56fa80083ce05273b1bd895e96af814869abaafc047d2e3fd0fe6584b/microsoft/TypeScriptSamples/issues/136 |
| og:image:alt | Hi Microsoft (@microsoft) team I've been trying to setup VsCode for d3 dev. and everything works fine if I just use the repo example from TypeScriptSamples but I need to be able to practice them lo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | abhi18av |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScriptSamples git https://github.com/microsoft/TypeScriptSamples.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 21831014 |
| octolytics-dimension-repository_nwo | microsoft/TypeScriptSamples |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21831014 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScriptSamples |
| 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 | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width