Closed thanhleviet closed 13 years ago
hey ninomax, sorry about the trouble.
Can you tell me:
One thing to try would be to clear out the compress install and then try again:
rm -r lib/node/compress/
rm -r modules/node-compress
./ndistro
Hi sprengmyer Thanks for a quick response.
Thanks
Thanh
On Sat, Mar 12, 2011 at 11:08 AM, springmeyer < reply@reply.github.com>wrote:
hey ninomax, sorry about the trouble.
Can you tell me:
- What version, method you used to install tilemill (from git or the download at tilemill.com)
- in your tilemill directory do you have a 'lib/node/compress/' folder?
- if #2 is true then what is inside?
One thing to try would be to clear out the compress install and then try again:
rm -r lib/node/compress/ rm -r modules/node-compress ./ndistro
https://github.com/mapbox/tilemill/issues/276#comment_862991
furthermore, node-compress also does not exist in modules folder. Thanh
2011/3/12 Lê Viết Thanh lethanhx2k@gmail.com
Hi sprengmyer Thanks for a quick response.
- i installed tilemill from git
- There is not that folder in tilemill.
- dont know as #2 is false. Should i remove tilemill and re-install?
Thanks
Thanh
On Sat, Mar 12, 2011 at 11:08 AM, springmeyer < reply@reply.github.com>wrote:
hey ninomax, sorry about the trouble.
Can you tell me:
- What version, method you used to install tilemill (from git or the download at tilemill.com)
- in your tilemill directory do you have a 'lib/node/compress/' folder?
- if #2 is true then what is inside?
One thing to try would be to clear out the compress install and then try again:
rm -r lib/node/compress/ rm -r modules/node-compress ./ndistro
https://github.com/mapbox/tilemill/issues/276#comment_862991
same think in Mac OS X Snow Leopard $ ./tilemill.js Creating mapfile dir /Users/Shared/telechargement/11_03_11/tilemill/files/.cache Creating export dir /Users/Shared/telechargement/11_03_11/tilemill/files/export
node.js:63
throw e;
^
Error: Cannot find module 'compress'
at loadModule (node.js:275:15)
at require (node.js:411:14)
at Object.
Sorry, I see the problem now. I forgot to remove a dependency on compress in tilelive. So, this is fixed now in tilelive, which tilemill's ndistro script pulls dynamically. So, to fix this you should be able to do (in your tilemill checkout):
rm -r lib/node/tilelive/ rm -r lib/node/mapnik/ rm -r modules/tilelive.js rm -r modules/node-mapnik ./ndistro
Thanks springmeyer Tilemile start fine now. Thanh
On Sun, Mar 13, 2011 at 1:26 AM, springmeyer < reply@reply.github.com>wrote:
Sorry, I see the problem now. I forgot to remove a dependency on compress in tilelive. So, this is fixed now in tilelive, which tilemill's ndistro script pulls dynamically. So, to fix this you should be able to do (in your tilemill checkout):
rm -r lib/node/tilelive/ rm -r lib/node/mapnik/ rm -r modules/tilelive.js rm -r modules/node-mapnik ./ndistrohttps://github.com/mapbox/tilemill/issues/276#comment_864081
Hello i have been trying to install tilemill on Ubuntu 10.10 but no luck. i followed the intrucstion on tilemill.com and everything went well. Untill i started the tilemill (i.e ./tilemill.js), the message below displayed:
node.js:63 throw e; ^ Error: Cannot find module 'compress' at loadModule (node.js:275:15) at require (node.js:411:14) at Object. (/home/thanhlv/Desktop/tilemill/lib/node/tilelive/mbtiles.js:5:16)
at Module._compile (node.js:462:23)
at Module._loadScriptSync (node.js:469:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
at Object. (/home/thanhlv/Desktop/tilemill/lib/node/tilelive/mappool.js:4:15)
at Module._compile (node.js:462:23)