-
Notifications
You must be signed in to change notification settings - Fork 966
New issue
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
Emscripten wrapper modifies Node.js globals #629
Comments
These may be the compile flags that would solve my issue: |
We are planning on a new release this month. We can investigate adding these options. |
In the latest release, 1.4.0, I'm seeing a different but still similar line in both the encoder and the decoder:
This has a similar effect as before unfortunately, obscuring errors from my own application with a stack trace that seems to come from Draco:
Both the encoder and decoder include a similar line. |
@donmccurdy Does 1.4.0 not even work now? Or just the same brokenness for you as 1.3.6? |
It seems like v1.4.0 just hasn't fixed this particular issue — as far as I can tell it's behaving basically the same as v1.3.6, but I haven't managed to get my own implementation (donmccurdy/glTF-Transform#147) fully updated yet, and haven't tried to update three.js. |
Confirmed fixed in v1.4.1, thanks! |
I'm trying to integrate Draco into glTF-Transform, and have hit an issue with the generated Emscripten wrapper. It includes the following:
The effect of that, unfortunately, is to create noisy output that obscures my own stack traces and user-facing warnings, where my CLI library would normally handle errors. Is it possible to build (and ideally publish) the npm package without this in the wrapper?
The text was updated successfully, but these errors were encountered: