-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
V8 require() of ES modules is not supported #372
Comments
same problem... |
I solved this problem by downgrading. npm install --save-dev [email protected] Stay happy. |
With lately m1 chip we got fn is not a function with 7.1 |
same question, but v7.1.0 is working
|
it's work for me to. thanks |
Thanks, it's work for me. |
[email protected] has a security issue listed by npm audit
perhaps the maintainer could create a separate branch for version 7 so we could update it? |
Hi! Same here, I need help I can't make v8 works... I can't find documentation except this. My code doesn't return error but do not compile images : function images(cb) {
async () => {
imagemin = await import('gulp-imagemin');
},
() => src([paths.images + '**/*'])
.pipe(imagemin.default([
imagemin.gifsicle({interlaced: true}),
imagemin.mozjpeg({progressive: true}),
imagemin.optipng({optimizationLevel: 5}),
]))
.pipe(dest(paths.assets + paths.images))
.pipe(livereload());
cb();
}
exports.default = series(
images,
); Thanks! |
We have a custom build tool that used
v7.1.0
but does not work with the M1 chip, same as #369.Then we went to
v8.0.0
, then we gotrequire() of ES modules is not supported
error.And because have to use
commonjs
to compile with another custom binary, so we can't change to es module for compiling.Could we get some solutions you may suggest?
The text was updated successfully, but these errors were encountered: