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
Rust compilation.
ERROR in Rust compilation.
webpack compiled with 1 error
There is no other output about it, but I guess it refers to this error that appears during the compilation:
Error: crate directory is missing a `Cargo.toml` file; is `.` the wrong directory?
Also, import { ParquetFile } from 'parquet-wasm/bundler'; causes Cannot find module 'parquet-wasm/bundler' or its corresponding type declarations.. Instead, if I use the parquet-wasm entrypoint the Typescript server allows me to see the correct types of the library.
The text was updated successfully, but these errors were encountered:
There is no other output about it, but I guess it refers to this error that appears during the compilation:
That's weird... why is it trying to compile the Rust code from source?
I haven't used craco or webpack myself, so I don't know the configuration to get it to work with them. I usually use the node or esm entry points myself.
Also, import { ParquetFile } from 'parquet-wasm/bundler'; causes Cannot find module 'parquet-wasm/bundler' or its corresponding type declarations.. Instead, if I use the parquet-wasm entrypoint the Typescript server allows me to see the correct types of the library.
Hmm. Perhaps this is an error in how the conditional entry points are defined? I don't know what's wrong with this export though:
hello, I'm trying to use the bundler build with CRACO/Webpack. This is my webpack config (inside the CRACO one):
I get this error from Webpack:
There is no other output about it, but I guess it refers to this error that appears during the compilation:
Also,
import { ParquetFile } from 'parquet-wasm/bundler';
causesCannot find module 'parquet-wasm/bundler' or its corresponding type declarations.
. Instead, if I use theparquet-wasm
entrypoint the Typescript server allows me to see the correct types of the library.The text was updated successfully, but these errors were encountered: