Skip to content
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

weird error when running test with jest #1777

Open
1 task done
sibelius opened this issue Jan 6, 2025 · 0 comments
Open
1 task done

weird error when running test with jest #1777

sibelius opened this issue Jan 6, 2025 · 0 comments

Comments

@sibelius
Copy link

sibelius commented Jan 6, 2025

Report

Issues and Steps to Reproduce

failed to asynchronously prepare wasm: CompileError: WebAssembly.instantiate(): BufferSource argument is empty

      at v (../../node_modules/yoga-layout/dist/binaries/yoga-wasm-base64-esm.js:63:371)

  console.warn
    Aborted(CompileError: WebAssembly.instantiate(): BufferSource argument is empty)

      at v (../../node_modules/yoga-layout/dist/binaries/yoga-wasm-base64-esm.js:13:60)
      at x (../../node_modules/yoga-layout/dist/binaries/yoga-wasm-base64-esm.js:63:418)

When running a test in our backend, it is getting this error on yoga-layout

├─┬ @react-pdf/renderer 4.1.6
                                                                            │ └─┬ @react-pdf/layout 4.2.0
                                                                            │   └── yoga-layout 3.2.1
                                                                            

Expected Behavior

it should not error

Actual Behavior

it is breaking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant