При запуске gulp выдает такую ошибку:
Error [ERR_REQUIRE_ESM]: require() of ES Module C:\Users\desktop\bitcloud\node_modules\del\index.js from C:\Users\desktop\bitcloud\gulpfile.js not supported.
Instead change the require of index.js in C:\Users\desktop\bitcloud\gulpfile.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (C:\Users\desktop\bitcloud\gulpfile.js:14:13)
at async Promise.all (index 0) {
code: 'ERR_REQUIRE_ESM'
}
Меняю require на import, но в итоге выдает
'default' errored after 57 ms
В чем ошибка?