Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Uncaught TypeError with a local copy of d3-v4 #136

Open
abhi18av opened this issue Jan 8, 2017 · 0 comments
Open

Uncaught TypeError with a local copy of d3-v4 #136

abhi18av opened this issue Jan 8, 2017 · 0 comments

Comments

@abhi18av
Copy link

abhi18av commented Jan 8, 2017

Hi @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://cdnjs.cloudflare.com/ajax/libs/d3/4.4.1/d3.js

and 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

Uncaught TypeError: Cannot read property 'day' of undefined at data.ts:238

It might be an error of versioning, could you guide me how to make it work locally?

Thanks :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant