geotiffjs / geotiff.js

geotiff.js is a small library to parse TIFF files for visualization or analysis. It is written in pure JavaScript, and is usable in both the browser and node.js applications.
https://geotiffjs.github.io/
MIT License
861 stars 181 forks source link

Module not found: Error: Package path ./dist/txml is not exported from package #249

Closed DailisLangovskis closed 2 years ago

DailisLangovskis commented 2 years ago

After npm installing the library, I get this error on my app start up.

Also following this -> ./node_modules/geotiff/src/geotiffimage.js:1075:19-24 - Error: export 'parse' (imported as 'parse') was not found in './txml' (module has no exports)

constantinius commented 2 years ago

This is fixed in v1.0.8 where txml is replaced.