Open kochizufan opened 2 years ago
Hi @kochizufan ! Thanks for trying out the library. Node is not a supported environment for Loam because on Node it is possible to use the GDAL package (https://www.npmjs.com/package/gdal) instead, which should provide the same functionality (and more). So because GDAL is available, I haven't spent time to make Loam work in Node, and it probably doesn't work in Node right now.
However, if you're unable to use the GDAL library then I would be happy to investigate improving Node support. Thanks again!
Thank you for explanation. My intension is use wasm version node library with electron. Some library cause some difficulties in packaging phase, especially in case of new architecture like Mac's M1. So I want to use wasm-based library as possible.
Got it, thanks for the explanation! That makes a lot of sense to me. I will look into what can be done about this (but currently have limited time for the project, so I do not know when I will be able to complete this work; it may be a while, unfortunately).
Hi
I want to use this in node.JS environment on local Windows PC, not on web browser.
Just for test, I wrote such ad-hoc code (without webpack or any packaging) and run:
The result is error follow:
I changed the code like this, but still same error occurs.
Is this expected result? Loam don't work in node.js environment or it always must be used with webpack-like packager?