We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Error: unexpected top-level await at node_modules/ttf2woff2/dist/index.js:9
ttf2woff2 = (await import('bindings')).default('addon.node').convert;
Using Node v23.1.0. I tried upgrading image2woff2 to 6.0.1 but the error remains.
From my gulpfile.mjs:
import iconfont from 'gulp-iconfont';
I also tried this:
import { createRequire } from 'node:module'; const require = createRequire(import.meta.url); const iconfont = require('gulp-iconfont');
The text was updated successfully, but these errors were encountered:
nfroidure/ttf2woff2#87 https://evertpot.com/using-top-level-await-is-bc-break/
Sorry, something went wrong.
No branches or pull requests
Error: unexpected top-level await at node_modules/ttf2woff2/dist/index.js:9
Using Node v23.1.0. I tried upgrading image2woff2 to 6.0.1 but the error remains.
From my gulpfile.mjs:
I also tried this:
The text was updated successfully, but these errors were encountered: