Skip to content

Instantly share code, notes, and snippets.

@JAYSONHOOGY
Created June 12, 2013 06:45
Show Gist options
  • Save JAYSONHOOGY/5763299 to your computer and use it in GitHub Desktop.
Save JAYSONHOOGY/5763299 to your computer and use it in GitHub Desktop.
Error when trying to run TM2
jayson@jayson-VirtualBox-Ubuntu:~/tm2$ node index.js
module.js:340
throw err;
^
Error: Cannot find module 'mapnik'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/home/jayson/tm2/node_modules/tilelive-bridge/index.js:5:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
jayson@jayson-VirtualBox-Ubuntu:~/tm2$ mapnik-config -v
2.2.0-pre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment