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

Error require() ^8.0.0 #375

Closed
Mirror45 opened this issue Aug 26, 2022 · 0 comments
Closed

Error require() ^8.0.0 #375

Mirror45 opened this issue Aug 26, 2022 · 0 comments

Comments

@Mirror45
Copy link

Error [ERR_REQUIRE_ESM]: require() of ES Module /media/yli/DE24D8BA24D896BD/vlad/node_modules/gulp-imagemin/index.js from /media/yli/DE24D8BA24D896BD/vlad/gulpfile.js not supported.
Instead change the require of index.js in /media/yli/DE24D8BA24D896BD/vlad/gulpfile.js to a dynamic import() which is available in all CommonJS modules.
at Object. (/media/yli/DE24D8BA24D896BD/vlad/gulpfile.js:5:14)
at async Promise.all (index 0) {
code: 'ERR_REQUIRE_ESM'
}

^7.1.0 Run ok

@Mirror45 Mirror45 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 27, 2022
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

1 participant