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

Can't execute the task #3

Open
polikin opened this issue Feb 28, 2018 · 0 comments
Open

Can't execute the task #3

polikin opened this issue Feb 28, 2018 · 0 comments

Comments

@polikin
Copy link

polikin commented Feb 28, 2018

When I try to run the task, this is the error I have:

(node:3748) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): undefined:20:103465: property missing ':'
(node:3748) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Structure:

gulp.src(config.path.instanceRoot + '/Website/public/css/styles.css')
        .pipe(criticalCss({
            out: 'critical.css',
            url: 'http://localhost/',
            width: 1280,
            height: 800,
            strict: true,
            userAgent: 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)'
        }))
        .pipe(cssnano())
        .pipe(gulp.dest(config.path.instanceRoot + '/Website/public/css'));

node: 8.9.4
gulp CLI version: 2.0.1

@polikin polikin changed the title Can't execute the script Can't execute the task Feb 28, 2018
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