rurseekatze / node-tileserver

A lightweight tileserver based on NodeJS for serving bitmap and vector tiles.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

init-rendering.js error

RobWJ opened this issue · comments

hi

i try to install your node-tileserver on a fresh ubuntu 14.04
with nodejs install per nvm
nvm set 0.10.28

i get the tileserver.js running, but have troubles with the init-rendering.js

got this error:

[2014-06-17 18:47:07.556] [INFO] [default] - Initial rendering of 87k tiles in the background. This process can take some time.

/home/osm/projects/osmjs/tileserver/init-rendering.js:142
eventEmitter.on('tileFinished', initTileFinished);
^
ReferenceError: eventEmitter is not defined
    at Object.<anonymous> (/home/osm/projects/osmjs/tileserver/init-rendering.js:142:1)
    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 Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:906:3

is there a package missing?
any ideas? i am no programmer :)

thx
rob

same thing here

Should be fixed now.

I would suggest you to better use a stable version than the latest development stage from the repository. It may contain bugs such as memory leaks.