Skip to main content

Questions tagged [gulp]

Gulp is a JavaScript build system, Node.js-based task runner like Grunt. Gulp uses streams and code-over-configuration for a simpler and more intuitive build process.

0 votes
0 answers
14 views

How to resolve "SSL handshake failed" error when using Penthouse Critical CSS generator (on Node.js)?

I want to create a Gulp task that generates a file with my site's Critical CSS. Penthouse seems to fit exactly what I need. I can achieve generating the Critical CSS file with http://google.com, and ...
MeltingDog's user avatar
1 vote
1 answer
33 views

I need enable text compression to optimizate my time

When I run "Lighthouse" in my angular app it show me that I have to enable a text compress . I cannot modify server configurate so I follow this tutorials: how to enable gzip compression in ...
Doppu's user avatar
  • 465
0 votes
1 answer
51 views

gulp imagemin breaking images and not optimizing

I am trying to setup up the imagemin package to run through gulp. I seem to have got the package running, however there are a number of unexplained issues: const imgSRC = 'images/*'; const imgDIST = '....
Jonathan Hutchinson's user avatar
0 votes
1 answer
32 views

VS Code and Gulp 5.0 / Gulp Cli 3.0

I´m trying to copy some files between folders without success. This is my program: const gulp = require('gulp'); const using = require('gulp-using') const fs = require('fs'); const gzip = require('...
amen0103's user avatar
0 votes
0 answers
8 views

Gulp only randomly output file?

I've got this function on Gulp that precompiles templates and partials and then outputs a file. Well, only sometimes, that is. I can't seem to wrap my head around the 'inner workings' of Gulp. ...
Sam's user avatar
  • 79
0 votes
0 answers
9 views

gulp template precompile broken

In the process of trying to update the following I have broken it. I changed require to import but it is obvious that I need to do more - can anyone help? It currently reports TypeError: template....
vogomatix's user avatar
  • 4,958
0 votes
1 answer
39 views

Github pipeline for angular js project

I have this github pipeline I just created to automatically deploy an angular js project, that is compiled with the gulp command. name: Node.js CI with Gulp on: push: branches: - main ...
newuser147's user avatar
0 votes
0 answers
26 views

Gulp install error - Bad signature error ,ssl3_get_key_exchange

I am trying to install gulp 3.9.1 and getting an error message Bad signature error write EPROTO 101057795:error:04091068:rsa routines:INT_RSA_VERIFY:bad signature:openssl\crypto\rsa\rsa_sign.c:278: ...
mahima jain's user avatar
0 votes
0 answers
23 views

Gulp does not create a folder in dist

Gulp cannot create an img folder in the dist folder. Everything goes without errors, but the folder does not appear! const srcPath = "src/" const distPath = "dist/" ...
Виталий Кравченко's user avatar
0 votes
0 answers
13 views

How to create arbitrary classes in Gulp.js?

I'm trying to find a way to define arbitrary CSS utility classes using Gulp.js. Specifically, I want to be able to dynamically generate CSS classes, which would allow me to have more control over ...
rrenildopereiraa's user avatar
0 votes
0 answers
132 views

Upgrading from gulp 4 to 5: Error: Writable stream closed prematurely

I'm trying to upgrade from Gulp 4 to Gulp 5 and I'm getting Error: Writable stream closed prematurely. Here's the relevant function: const download = require('gulp-download2'); /** * Purgecss can ...
Patrick Kenny's user avatar
0 votes
0 answers
24 views

Trouble setting up gulpfile.js using ES module

I am trying to set up my Gulp workflow using the latest versions of all packages. I am used to CommonJS and having some difficulty figuring out how to get my tasks to run. I have a task to compile ...
user13286's user avatar
  • 3,129
1 vote
0 answers
19 views

Delete all prior files in dist folder before 'gulp build' task begins?

I'm wanting to deploy a website to a testing server. I have literally spent days watching Youtubes, Lynda.com/LinkedIn Learning, etc. to find the best way to 'gulp build' a dist folder for me to ...
MMead's user avatar
  • 11
0 votes
0 answers
7 views

Gulp browser-sync when reloading stream scss html the same css link href keeps repeating

When I try to change the scss variable, the html looks like this <link href="assets/bootstrap.css" rel="stylesheet"> become like this <link href="assets/bootstrap....
aboutjquery's user avatar
0 votes
0 answers
28 views

gulp5, sass - A task did not complete. Sync task with 'return' to async task

An issue with a Gulpfile made me stuck in one point of a webdesigner course which consists of prerecorded tutorials. I tried to recreate steps from a video about making a gulpfile.js: var gulp = ...
Grzegorz K's user avatar

15 30 50 per page
1
2 3 4 5
846