Wrong path for `mapnik_settings.js`
Closed this issue · 2 comments
g12n commented
coffee server.coffee breaks with this error message:
Error: Cannot find module '/tilelive/node_modules/tilelive-vector/node_modules/mapnik/lib/binding/node-v11-linux-x64/mapnik_settings.js'
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> (/tilelive/node_modules/tilelive-vector/node_modules/mapnik/lib/mapnik.js:5:16)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (/tilelive/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/tilelive/node_modules/tilelive-vector/index.js:2:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (/tilelive/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous> (/tilelive/server.coffee:4:10)
at Object.<anonymous> (/tilelive/server.coffee:2:1)
at Module._compile (module.js:456:26)
The given location doesnt exist:
intead of /node-v11-linux-x64/mapnik_settings.js'
there is /node-v11-darwin-x64/mapnik_settings.js
g12n commented
Sorry, my error.
I accidentally installed local mac files
ubergesundheit commented
Okay :)