You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the "geotiff": "^2.1.3" package as a dependency in my custom NPM package. When I build and use this custom package in a React project, I run into the error: fs module not found.
The troubleshoots i tried were -
in the package.json added below code (Didn't work)
Since I use babel inside my custom package, I added in my babel.config.js [ 'babel-plugin-transform-inline-environment-variables', { include: ['fs'] } ]
this didn't work either
my question is:
Does the geotiff package have a browser-compatible build?
If not, what's the recommended approach to fix the fs issue ?
The text was updated successfully, but these errors were encountered:
I'm using the
"geotiff": "^2.1.3"
package as a dependency in my custom NPM package. When I build and use this custom package in a React project, I run into the error: fs module not found.The troubleshoots i tried were -
[ 'babel-plugin-transform-inline-environment-variables', { include: ['fs'] } ]
this didn't work either
my question is:
The text was updated successfully, but these errors were encountered: