Error with gulp-uncss: This application failed to start because it could not find or load the Qt platform plugin "xcb"

0

When trying to run task uncss , an error occurs with the message:

  

This application failed to start because it could not find or load the    Qt platform plugin "xcb".   Available platform plugins are: phantom.

gulp.task('uncss', function(){
    return gulp.src('./dist/components/**/*.css')
        .pipe(uncss({
            html: ['./dist/*.html']
        }))
        .pipe(gulp.dest('./dist/components/*'))
})

Ubuntu Operating System 17.04

npm 4.2.0

node v7.9.0

    
asked by anonymous 28.01.2018 / 17:19

0 answers