We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a monorepo with FE and BE in src/packages(client/server)
src/packages(client/server)
I'm importing gdal3.js in Node v20 (src/packages/server):
import initGdalJs from 'gdal3.js/node.js'
but I'm getting:
ENOENT: no such file or directory, open './node_modules/gdal3.js/dist/package/gdal3WebAssembly.data'
The text was updated successfully, but these errors were encountered:
Hi @alexcroox,
By default it searches for data file in node_modules/gdal3.js/dist/package/. Can you try to set correct path in config?
node_modules/gdal3.js/dist/package/
For example; initGdalJs({ path: '../node_modules/gdal3.js/dist/package/' })
initGdalJs({ path: '../node_modules/gdal3.js/dist/package/' })
https://gdal3.js.org/docs/global.html#initGdalJs
Sorry, something went wrong.
No branches or pull requests
I have a monorepo with FE and BE in
src/packages(client/server)
I'm importing gdal3.js in Node v20 (src/packages/server):
import initGdalJs from 'gdal3.js/node.js'
but I'm getting:
ENOENT: no such file or directory, open './node_modules/gdal3.js/dist/package/gdal3WebAssembly.data'
The text was updated successfully, but these errors were encountered: