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
Updating to wasm-bindgen 0.2.97 introduced issues with being able to use the wasm library in a webpack based project.
Specifically this error:
⨯ ../../glaredb/crates/rayexec_wasm/pkg/rayexec_wasm_bg.wasm
Module parse failed: Internal failure: parseVec could not cast the value
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
Error: Internal failure: parseVec could not cast the value
Import trace for requested module:
../../glaredb/crates/rayexec_wasm/pkg/rayexec_wasm_bg.wasm
../../glaredb/crates/rayexec_wasm/pkg/rayexec_wasm.js
./src/components/editor/Editor.tsx
./src/components/editor/DynamicEditor.tsx
The issue should have been fixed in webpack 5.97.1, but after upgrading, the issue still persisted.
I'm unsure if there's something else that needs to be updated, but in the meantime, I just downgraded wasm-bindgen to 0.2.92 and it's confirmed working again.
The text was updated successfully, but these errors were encountered:
Updating to wasm-bindgen 0.2.97 introduced issues with being able to use the wasm library in a webpack based project.
Specifically this error:
Related issues:
The issue should have been fixed in webpack 5.97.1, but after upgrading, the issue still persisted.
I'm unsure if there's something else that needs to be updated, but in the meantime, I just downgraded wasm-bindgen to 0.2.92 and it's confirmed working again.
The text was updated successfully, but these errors were encountered: