简体   繁体   中英

Gulp shows Error [ERR_REQUIRE_ESM]: require() of ES Module

I installed node.js on my system.After that i set the environmental varaiables.Then i tried to run gulp after installing it but it shows Error [ERR_REQUIRE_ESM]: require() of ES Module. Can anyone help me to solve this

Node Version is v16.13.1

gulp Version is 
CLI version: 2.3.0
Local version: 4.0.2

在此处输入图像描述

gulpfile,js 在此处输入图像描述

gulpfile link https://codepen.io/ANANTHUC/pen/GRMovwG

Just degrade one version down to the Gulp-image and check. I think it will work fine, because for me it worked.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM