-
-
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
Error with node 23.1 #389
Comments
Same with node 22.12.0. |
2 tasks
@echavaillaz, @sandinmyjoints, can you import the plugin asynchronously? import gulp from "gulp";
// Or as CommonJS:
// const gulp = require("gulp");
gulp.task("optimize", async () => {
const imagemin = (await import("gulp-imagemin")).default;
return gulp
.src("src/images/*")
.pipe(imagemin())
.pipe(gulp.dest("dist/images"));
}); |
Ok for me it works again. Thanks for the hint. |
browniebroke
added a commit
to cookiecutter/cookiecutter-django
that referenced
this issue
Dec 10, 2024
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using node 23.2, I got now this error :
All the export with await are broken.
The text was updated successfully, but these errors were encountered: