Category "gulp"

SyntaxError: Unexpected reserved word => prettier/third-party.js

I'm pretty new to Node, npm and webpack. I'm trying to set up a Craft 3 environment with Tailwind css. Everything worked fine out of the box, but when i run npm

How to create empty (immideately completed) ReadWriteStream in NodeJS?

How to create empty NodeJS.ReadWriteStream which will immideately stopped? If you are interesting why I need to do this, I am developing the function for Gulp,

Lighthouse: increase my website performance

I did the lighthouse test on my website the report shows some issues but I don't know where to start to fix these issues I see one of the issues fix to enabling

Problem with HTML reload with TailwindCSS and Gulp

I'm setting up a project with TailwindCSS. I'm trying to set up my automation with Gulp, but I'm running into an issue with the HTML reloading. Everything see

Using Browsersync via a Gulp Task with DDEV-local

I am using DDEV as my local hosting environment, and many of my projects implement front end automation via Gulp. Browsersync is a major component to our front

Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (88)

I have tried to install gulp-sass latest version with npm i gulp-sass --save-dev in the begining I got a lot of errors but later solved them. But whenever I tr

Gulp or gulp watch doesn't watch file changes

I am trying to watch scss & js files. so far I've tried this answer: gulp watch doesn't watch How can I make sure all files are watched automatically when I

Error: argument `$color-2` of `mix($color-1, $color-2, $weight: 50%)` must be a color when compile my own bootstrap theme

i try to build my own theme. i change color theme to my style. but i got error when compile my own theme, this is my theme was created. // 1. core variables an

DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResourc

gulp-notify: [HTML] Error: Callback called multiple times (node:24464) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use

How to solve the Gulp error: imagemin.jpegtran is not a function

I am getting this error whenever I try to make imagemin work for any kind of image: 21:54:49] Starting 'imgmin'... [21:54:49] 'imgmin' errored after 47 ms [2

Stylesheet not loaded because of MIME-type

I'm working on a website that uses gulp to compile and browser sync to keep the browser synchronised with my changes. The gulp task compiles everything properl

browsersync doesn't work with XAMPP

I created the project at the address D:\xampp\htdocs\dashboard\optimizedphp (gulpfile.js). What kind of proxy should I use? I tried many, but after changing the

TS2307: Cannot find module 'class-validator'

I'm attempting to use the class-validator module in a typescript project. However when I compile typescript issues the following warning: src/main/ts/domain/O

Gulp - The term 'gulp' is not recognized as the name of a cmdlet

Started getting this random error when I started a new project and made a new gulpfile. I get it whenever I run gulp. It isn't just on this project it has sta

gulp-imagemin: Couldn't load default plugin xxx

the env: windows 7 node 6.9.5 I use the plugin like this npm. but I get an error. from some video, It's correct. It's relative to imagemin's version? // gulpf

node- my Gulp application not running on mac

I cant npm install my packages anymore even it was working before 2589 error gyp verb check python checking for Python executable "/Users/minafawzy/.pyenv/shims

PostCSS error: [object Object] is not a PostCSS plugin

The error is coming from the postcss plugin, I think I may have written it incorrectly. I'm trying to add cssnano and autoprefixer to the postcss plugin. gul

'gulp' is not recognized as an internal or external command

I am trying to use Gulp and Node.Js to stream my process for minifying and concatenating CSS/JS files for production. Here is what I have done. I installed No

gulp.dest() is not creating an output file

I have the following code in a gulp task. It's not writing an output file. const player = { player: { src: 'x', tpl: '<style>%s</sty

gulp-sass 5 does not have a default Sass compiler; please set one yourself

Error in plugin "gulp-sass" Message: gulp-sass 5 does not have a default Sass compiler; please set one yourself. Both the sass and node-sass packages are permit