ErikGartner / dTree

A library for visualizing data trees with multiple parents, such as family trees. Built on top of D3.
https://treehouse.gartner.io/ErikGartner/58e58be650453b6d49d7
MIT License
521 stars 139 forks source link

Uncaught ReferenceError: dTree is not defined #70

Closed vishnuraj007 closed 6 years ago

vishnuraj007 commented 6 years ago

What i did is: -Downloaded the project from github -npm install --save-dev -npm run-script build -npm run-script demo

Error that i am getting in chrome is: Uncaught ReferenceError: dTree is not defined at (index):46 at Object. (d3.v4.min.js:2) at k.call (d3.v4.min.js:2) at XMLHttpRequest.e (d3.v4.min.js:2)

Could you help me out here .?

ErikGartner commented 6 years ago

What browser, version etc are you using?

Hard to tell why this isn't working

vishnuraj007 commented 6 years ago

I tried in Google chrome 64.0.3282.167 and Microsoft Edge 41.16299.15.0

ErikGartner commented 6 years ago

I could not replicate the error using Chrome 64.0.3282.167. What I did was:

npm install -g gulp
npm install
npm run-script demo

Perhaps checking out the repository and start over using the commands above.