mapbox / tokml

Convert GeoJSON to KML.
http://mapbox.github.io/tokml/
BSD 2-Clause "Simplified" License
185 stars 90 forks source link

"value" argument is out of bound #41

Closed samerkalil closed 4 years ago

samerkalil commented 4 years ago

buffer.js:1185 throw new TypeError('"value" argument is out of bounds'); ^

TypeError: "value" argument is out of bounds at checkInt (buffer.js:1185:11) at Buffer.writeUInt8 (buffer.js:1233:5) at Dbf.generateHeader (/usr/src/app/node_modules/geojson2shp/lib/shp-write-stream/dbf.js:184:11) at err (/usr/src/app/node_modules/geojson2shp/lib/shp-write-stream/index.js:138:37) at /usr/src/app/node_modules/pump/index.js:75:7 at f (/usr/src/app/node_modules/once/once.js:25:25) at WriteStream. (/usr/src/app/node_modules/pump/index.js:33:5) at WriteStream.f (/usr/src/app/node_modules/once/once.js:25:25) at WriteStream.onfinish (/usr/src/app/node_modules/end-of-stream/index.js:31:27) at emitNone (events.js:111:20)