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.
Error:/node_modules/@petamoriken/float16/browser/float16.js: unknown Statement of type "ForOfStatement"
at Ep.explodeStatement (:3000//node_modules/regenerator-transform/lib/emit.js:593:13)
at :3000//node_modules/regenerator-transform/lib/emit.js:325:12
at Array.forEach ()
at Ep.explodeStatement (:3000//node_modules/regenerator-transform/lib/emit.js:324:22)
at Ep.explode (:3000//node_modules/regenerator-transform/lib/emit.js:282:40)
at PluginPass. (:3000//node_modules/regenerator-transform/lib/visit.js:108:17)
at PluginPass. (:3000//node_modules/regenerator-transform/lib/util.js:28:17)
at newFn (:3000//node_modules/@babel/traverse/lib/visitors.js:159:21)
at NodePath._call (:3000//node_modules/@babel/traverse/lib/path/context.js:46:20)
at NodePath.call (:3000//node_modules/@babel/traverse/lib/path/context.js:36:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:92:8)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitSingle (:3000//node_modules/@babel/traverse/lib/context.js:72:19)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:121:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitMultiple (:3000//node_modules/@babel/traverse/lib/context.js:67:17)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:119:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitSingle (:3000//node_modules/@babel/traverse/lib/context.js:72:19)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:121:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitMultiple (:3000//node_modules/@babel/traverse/lib/context.js:67:17)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:119:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitSingle (:3000//node_modules/@babel/traverse/lib/context.js:72:19)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:121:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitMultiple (:3000//node_modules/@babel/traverse/lib/context.js:67:17)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:119:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitSingle (:3000//node_modules/@babel/traverse/lib/context.js:72:19)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:121:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitMultiple (:3000//node_modules/@babel/traverse/lib/context.js:67:17)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:119:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at ./node_modules/@petamoriken/float16/browser/float16.js (olLocationMap.js:143:1)
at webpack_require__ (bootstrap:63:1)
at ./node_modules/geotiff/dist-module/geotiffimage.js (geotiffimage.js:1:1)
at webpack_require (bootstrap:63:1)
at ./node_modules/geotiff/dist-module/geotiff.js (geotiff.js:1:1)
at __webpack_require (bootstrap:63:1)
at ./node_modules/ol/source/GeoTIFF.js (GeoTIFF.js:1:1)
at webpack_require__ (bootstrap:63:1)
at ./node_modules/ol/source.js (source.js:1:1)
at webpack_require__ (bootstrap:63:1)
I suspect this isn't a problem with geotiff, but the error is pointing here. But this is way over my head. Rails 7 app
Error:/node_modules/@petamoriken/float16/browser/float16.js: unknown Statement of type "ForOfStatement"
at Ep.explodeStatement (:3000//node_modules/regenerator-transform/lib/emit.js:593:13)
at :3000//node_modules/regenerator-transform/lib/emit.js:325:12
at Array.forEach ()
at Ep.explodeStatement (:3000//node_modules/regenerator-transform/lib/emit.js:324:22)
at Ep.explode (:3000//node_modules/regenerator-transform/lib/emit.js:282:40)
at PluginPass. (:3000//node_modules/regenerator-transform/lib/visit.js:108:17)
at PluginPass. (:3000//node_modules/regenerator-transform/lib/util.js:28:17)
at newFn (:3000//node_modules/@babel/traverse/lib/visitors.js:159:21)
at NodePath._call (:3000//node_modules/@babel/traverse/lib/path/context.js:46:20)
at NodePath.call (:3000//node_modules/@babel/traverse/lib/path/context.js:36:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:92:8)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitSingle (:3000//node_modules/@babel/traverse/lib/context.js:72:19)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:121:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitMultiple (:3000//node_modules/@babel/traverse/lib/context.js:67:17)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:119:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitSingle (:3000//node_modules/@babel/traverse/lib/context.js:72:19)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:121:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitMultiple (:3000//node_modules/@babel/traverse/lib/context.js:67:17)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:119:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitSingle (:3000//node_modules/@babel/traverse/lib/context.js:72:19)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:121:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitMultiple (:3000//node_modules/@babel/traverse/lib/context.js:67:17)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:119:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitSingle (:3000//node_modules/@babel/traverse/lib/context.js:72:19)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:121:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at NodePath.visit (:3000//node_modules/@babel/traverse/lib/path/context.js:90:52)
at TraversalContext.visitQueue (:3000//node_modules/@babel/traverse/lib/context.js:96:16)
at TraversalContext.visitMultiple (:3000//node_modules/@babel/traverse/lib/context.js:67:17)
at TraversalContext.visit (:3000//node_modules/@babel/traverse/lib/context.js:119:19)
at traverseNode (:3000//node_modules/@babel/traverse/lib/traverse-node.js:18:17)
at ./node_modules/@petamoriken/float16/browser/float16.js (olLocationMap.js:143:1)
at webpack_require__ (bootstrap:63:1)
at ./node_modules/geotiff/dist-module/geotiffimage.js (geotiffimage.js:1:1)
at webpack_require (bootstrap:63:1)
at ./node_modules/geotiff/dist-module/geotiff.js (geotiff.js:1:1)
at __webpack_require (bootstrap:63:1)
at ./node_modules/ol/source/GeoTIFF.js (GeoTIFF.js:1:1)
at webpack_require__ (bootstrap:63:1)
at ./node_modules/ol/source.js (source.js:1:1)
at webpack_require__ (bootstrap:63:1)