Coder Social home page Coder Social logo

Changelog notes: about parquet-wasm HOT 5 OPEN

kylebarron avatar kylebarron commented on June 24, 2024
Changelog notes:

from parquet-wasm.

Comments (5)

matbee-eth avatar matbee-eth commented on June 24, 2024

I dont understand how to get this project imported. Documentation says arrow2, arrow1, etc. But I see no such thing. and import { readParquet } from "parquet-wasm"; returns

Cannot find module 'parquet-wasm' or its corresponding type declarations.ts(2307)

Using this in a NextJS webpack system and it most definitely does not enjoy it

I've tried copying the files directly into my project and it errors:

parquet_wasm.js:300  Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '__wbindgen_add_to_stack_pointer')
    at readParquet (parquet_wasm.js:300:14)
    at eval (VM949045 parquet.tsx:44:103)
    at async Promise.all (index 0)
    at async eval (VM949045 parquet.tsx:42:30)
    import { readParquet } from "parquet-wasm/bundler/parquet_wasm";

errors with the following:

Module not found: Package path ./bundler/parquet_wasm is not exported from package /home/acidhax/dev/originals/dataset-manager-nextjs/node_modules/parquet-wasm (see exports field in /home/acidhax/dev/originals/dataset-manager-nextjs/node_modules/parquet-wasm/package.json)

from parquet-wasm.

kylebarron avatar kylebarron commented on June 24, 2024

you should look at the readme for the git tag that you have installed

from parquet-wasm.

kylebarron avatar kylebarron commented on June 24, 2024

I've tried copying the files directly into my project and it errors:

that's probably because you're missing the underlying rust bundle

from parquet-wasm.

matbee-eth avatar matbee-eth commented on June 24, 2024

I've tried copying the files directly into my project and it errors:

that's probably because you're missing the underlying rust bundle

I'm using WASM in the browser, not rust, I'm very confused.

from parquet-wasm.

kylebarron avatar kylebarron commented on June 24, 2024

When I say "rust" I mean webassembly.

Cannot read properties of undefined (reading '__wbindgen_add_to_stack_pointer')

usually means either that the Wasm bundle was not loaded or, if you're using the esm entrypoint, that the wasm was not initialized. With the esm entrypoint you need to await the default export.

from parquet-wasm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.