topojson / us-atlas

Pre-built TopoJSON from the U.S. Census Bureau.
https://observablehq.com/@d3/u-s-map
ISC License
859 stars 139 forks source link

Installing on Ubuntu? #4

Closed NPashaP closed 10 years ago

NPashaP commented 10 years ago

I am trying to run the makefile in Ubuntu13.04. But I am getting errors. Any instructions on how to get this maps on Ubuntu? Thank you.

Here is the first error I am getting while running sudo ./Make

fs.js:427 return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode); ^ Error: ENOENT, no such file or directory '' at Object.fs.openSync (fs.js:427:18) at Object.fs.readFileSync (fs.js:284:15) at inputJson (/usr/lib/node_modules/topojson/bin/topojson:207:30) at pop (/usr/lib/node_modules/topojson/node_modules/queue-async/queue.js:51:14) at Object.queue.defer (/usr/lib/node_modules/topojson/node_modules/queue-async/queue.js:25:9) at /usr/lib/node_modules/topojson/bin/topojson:153:5 at Array.forEach (native) at Object. (/usr/lib/node_modules/topojson/bin/topojson:152:8) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10)

newsroomdev commented 10 years ago

@NPashaP looks like there's an issue with node. fs is one of the core modules. uninstall/reinstall?

mbostock commented 10 years ago

Sorry, I don’t know how to help with this issue.