d3.js - Can't run topojson after installation -


i'm working through mike bostock's mapping tutorial. i've followed instructions, installing v0.10.5 of node , using npm install topojson. if run 'whereis topojson ' displays 'topojson: /usr/bin/topojson /usr/bin/x11/topojson '. when try run topojson, format subunits json per tutorial, following error:

module.js:340 throw err;

error: cannot find module './lib/topojson/topology'
@ function.module._resolvefilename (module.js:338:15)
@ function.module._load (module.js:280:25)
@ module.require (module.js:364:17)
@ require (module.js:380:17)
@ object. (/usr/lib/node_modules/topojson/index.js:4:21)
@ module._compile (module.js:456:26)
@ object.module._extensions..js (module.js:474:10)
@ module.load (module.js:356:32) @ function.module._load (module.js:312:12) @ module.require (module.js:364:17)

does know i'm doing wrong here ?


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -