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

Could not load default plugin xxx #358

Closed
zh-D opened this issue Aug 30, 2021 · 2 comments
Closed

Could not load default plugin xxx #358

zh-D opened this issue Aug 30, 2021 · 2 comments

Comments

@zh-D
Copy link

zh-D commented Aug 30, 2021

gulpfile.esm.js:

import gulp from "gulp"
import imagemin from 'gulp-imagemin';

export function imageMin(cb) {
    gulp.src('src/images/*')
        .pipe(imagemin())
        .pipe(gulp.dest('dist/images'))
    cb()
}

Something goes wrong when I run "gulp imageMin"

Snipaste_2021-08-30_16-06-38

[2021-08-30]
win10
node version: v14.17.4
gulp version: ^4.0.2
gulp-imagemin version: ^8.0.0

@sindresorhus
Copy link
Owner

@CrazyOrr
Copy link

It's GFW issue, make sure your terminal can access raw.githubusercontent.com.

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

3 participants