sentinelhub-js icon indicating copy to clipboard operation
sentinelhub-js copied to clipboard

stringfy importation error

Open Rfellipe opened this issue 11 months ago • 0 comments

After i installed the package it gave me error of dependecies so i installed them, the dependecies and versions are:

"@sentinel-hub/sentinelhub-js": "^0.8.3", "fast-xml-parser": "^4.5.0", "moment": "^2.30.1", "proj4": "^2.15.0", "query-string": "^9.1.1", "terraformer-wkt-parser": "^1.2.1",

Now, it gave me this error:

Attempted import error: 'stringify' is not exported from 'query-string' (imported as 'stringify').

I tried reinstalling the package, i deleted the node modules and reinstalled again the package, installed with npm since im using yarn, updated the query-string package.

Im also using next.js 14.2.16 with ts, dont know if it make difference and the error is in this file

./node_modules/@sentinel-hub/sentinelhub-js/dist/sentinelHub.js

Is there a way to fix this issue?

Rfellipe avatar Nov 29 '24 21:11 Rfellipe