react-pdf icon indicating copy to clipboard operation
react-pdf copied to clipboard

Linking failure in asm.js: Unexpected stdlib member

Open cduff opened this issue 3 years ago • 5 comments

Introducing @react-pdf/renderer to my project has resulted in warning messages in my Jest test outputs, like:

(node:29756) V8: C:\project\node_modules\@react-pdf\yoga\src\build\Release\nbind.js:1781 Linking failure in asm.js: Unexpected stdlib member

I've created a minimal reproduction repo: https://github.com/cduff/react-pdf-linking-failure

Any idea how these can be resolved?

cduff avatar Nov 30 '21 23:11 cduff

Could be related to https://github.com/facebook/yoga/issues/898 although the error message report by the OP there was a bit different.

cduff avatar Nov 30 '21 23:11 cduff

Hi @cduff

I think the warning is here from the start of the time

It would be nice to fix this, but the error doesn't break anything, so it is not a priority now

jeetiss avatar Dec 07 '21 06:12 jeetiss

Hi @cduff

I think the warning is here from the start of the time

It would be nice to fix this, but the error doesn't break anything, so it is not a priority now

Hi @jeetiss,

Yes, those warnings look related.

It's true that the error doesn't appear to break anything, but having Jest output polluted with error messages is quite annoying, e.g.

image

Therefore, I think it would be ideal for this to be resolved.

cduff avatar Dec 07 '21 23:12 cduff

Is there any update on this. I'm also getting this in jest tests.

ghost avatar Jul 19 '22 06:07 ghost

Has anyone fixed this, or at least found a way to silence that specific error to avoid spamming the test output?

edmofro avatar Sep 22 '22 22:09 edmofro

fixed in #2105

jeetiss avatar Jan 28 '23 12:01 jeetiss