artemp / vector-tile-server

Vector tile server and rendering backend for Mapnik

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't build project

chiconguyen2601 opened this issue · comments

When I use "npm install", it have a bug during building vector_server.o

make: *** [Release/obj.target/node_vector_server/src/vector_server.o] Error 1
make: Leaving directory /home/sfvn/TileStache/vector-tile-server/build' gyp ERR! build error gyp ERR! stack Error:make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.16.0-38-generic
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "-v" "configure" "build"
gyp ERR! cwd /home/sfvn/TileStache/vector-tile-server
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.10.10
gyp ERR! not ok
npm ERR! weird error 1
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! not ok code 0

Please help me fix this bug. Thanks so much!