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

(node:14808) V8: PATH\node_modules\ttf2woff2\jssrc\ttf2woff2.js:3 Invalid asm.js: Invalid member of stdlib #7

Closed
thisVioletHydra opened this issue Jan 19, 2019 · 8 comments

Comments

@thisVioletHydra
Copy link

src(`${inDevApps}/fonts/Ubuntu/*.ttf`, { allowEmpty: true }),
  _run.ttf2woff(),
dest(`${inDevApps}/fonts/Ubuntu/`)

fonts created but error infuriates me

@davideberlein
Copy link

I have the same problem, anything we can do?

@adammo14
Copy link

I'm having the same issue, very frustrating.

@nfroidure
Copy link
Owner

nfroidure commented Sep 23, 2019

I guess that a rebuild of the JS fallback with a recenter Emscripten version inside the ttf2woff2 module may address this issue. Any PR is welcome.

@thisVioletHydra
Copy link
Author

⚰️ rip

@dheeyi
Copy link

dheeyi commented Dec 17, 2020

any suggestions in order to solve this error?

@cport1
Copy link

cport1 commented Dec 18, 2020

any suggestions in order to solve this error?

downgrade to node 12.16.1 and it works again

@swevans
Copy link

swevans commented May 4, 2021

It's been a bit, but I thought I'd throw out an answer I found. If you npm install ttf2woff2 (>= 4.0.0) then the error disappears. It looks like the gulp version (and fontmin) are using an old version of ttf2woff2.

@patricknelson
Copy link

patricknelson commented Apr 23, 2022

@swevans adding ttf2woff2@^4.0.4 in the root package.json doesn't seem to address it for me, but my guess is maybe because it's not used as a peer dependency. How exactly did you fix the problem this way? It still seems to trigger the error for me.

Edit: Never mind, for me the easier fix was to just transition from gulp-iconfont@^10.0.3 to gulp-iconfont@^11.0.1 (which was that I was using that referenced this package). Please excuse my silly question 😄

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

8 participants