mapbox/node-mbtiles — Issue #15: [mbcompact] error : <MBTiles> has no method '_insert'
Author: alarribeau
Created: 2012-01-05 12:16:29+00:00
State: open

Hello,

First I must say, that I am a total noob regarding node or js so my problem may be stupid. Here it is :

I have installed node-mbtiles (branch node-v6) and I have the following error when using the mbcompact tool :

-------------------------------------------------- TRACE -----------------------------
> ./mbcompact test.mbtiles

The "sys" module is now called "util". It should have a similar interface.
00 -------------- 50 -------------- 100

/home/ubuntu/src/node-mbtiles/node_modules/step/lib/step.js:39
throw arguments[0];
^
TypeError: Object # has no method '_insert'
at Function. (/home/ubuntu/src/node-mbtiles/bin/mbcompact:95:37)
at next (/home/ubuntu/src/node-mbtiles/node_modules/step/lib/step.js:51:23)
at Step (/home/ubuntu/src/node-mbtiles/node_modules/step/lib/step.js:122:3)
at Statement. (/home/ubuntu/src/node-mbtiles/bin/mbcompact:93:21)
--------------------------------------------------

Can you help me please ?

Thanks!
Alex