react-pdf
react-pdf copied to clipboard
Linking failure in asm.js: Unexpected stdlib member
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?
Could be related to https://github.com/facebook/yoga/issues/898 although the error message report by the OP there was a bit different.
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 @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.

Therefore, I think it would be ideal for this to be resolved.
Is there any update on this. I'm also getting this in jest tests.
Has anyone fixed this, or at least found a way to silence that specific error to avoid spamming the test output?
fixed in #2105