-
Notifications
You must be signed in to change notification settings - Fork 19
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
Cannot import parquet-wasm/bundler #529
Comments
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.
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: parquet-wasm/templates/package.json Lines 25 to 28 in 4b7e7e9
|
@stefanonardo Can you post the relevant pieces of your tsconfig.json (namely module, moduleResolution), and versions of typescript, webpack and (most importantly) parquet-wasm? |
I uninstalled it though, I can't give you more details |
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: