gulp Questions
3
What is the proper way to use gulp-watch plugin?
...
var watch = require('gulp-watch');
function styles() {
return gulp.src('app/styles/*.less')
.pipe(watch('app/styles/*.less'))
.pipe(concat(...
Yamamoto asked 19/5, 2015 at 16:3
5
Solved
I'm using bash in windows.
Getting this error when trying to run a sass compiler command via gulp.
I have Ruby & Sass installed.
Sass works fine when running it manually.
Error: spawn ENOENT:...
5
Solved
I'm trying to use Livereload using Gulp, Sublime Text 3 and Chrome but for some reason it doesn't work. Here is what I did.
Installed the Livereload extension in Chrome.
Installed gulp-livereload...
Uniflorous asked 4/9, 2015 at 13:34
1
Solved
My project is entirely written as CommonJS module and I don't plan to change it. The problem is that I have to use a library that is ESM when using gulp.
The file where this situation appears:
cons...
Atencio asked 12/2, 2022 at 15:28
3
Solved
I'm using gulp with eslint.
Without gulp, I just run eslint ./src --fix. I can't figure out how to make this happen with gulp. I tried below, setting fix to be true, but it doesn't fix any files:...
6
Solved
I want the gulp calls below to run synchronously, one after the other. But they do not follow an order.
The run-sequence node module doesn't help here, as I'm not trying to run gulp tasks in serie...
Neubauer asked 13/12, 2014 at 14:32
1
Solved
Getting below error after installed latest node.js (v16.13.1)
Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (93)
For more information on w...
Elba asked 12/1, 2022 at 4:56
7
Solved
I am new to the whole browserify thing.
I have been trying to use browserify + reactify + gulp to transform, minify and combine a React application.
As long as I have a single React.createClass wit...
Sacci asked 10/6, 2015 at 16:58
4
Solved
I have a project setup that is as follows:
workspace
└cache
└node_modules
└gulp (and gulp-plugins, express etc.)
└nodejs
└node.exe
└project1
└gulpfile.js
└project2
└gulpfile.js
Now I want t...
5
Solved
I'm trying to set up gulp in an MVC Core project within VS 2017. I have what I believe to be a valid gulpfile.js:
var gulp = require('gulp');
var rimraf = require('rimraf');
var concat = require('...
Correct asked 6/4, 2017 at 4:36
3
Can't get ESLint recognize and running using Gulp. Code for gulpfile.js is:
"use strict";
var gulp = require('gulp');
var connect = require('gulp-connect'); //Runs a local dev server
var ...
Maricela asked 22/2, 2017 at 23:28
2
Solved
I want to make gulp watch for all changes on my work folders but to generate only one file. Because I use scss which imports all required files, there is no need to compile all .css files, only mai...
Baziotes asked 22/8, 2015 at 21:33
5
Solved
I run gulp in my console I got this error:
Task 'default' is not in your gulpfile
My gulpfile looks just fine:
var gulp = require('gulp'),
LiveServer = require('gulp-live-server'),
browserS...
Amytal asked 26/12, 2016 at 10:41
9
Solved
When I run gulp I get the following error:
[12:54:14] { [GulpUglifyError: unable to minify JavaScript]
cause:
{ [SyntaxError: Unexpected token: operator (>)]
message: 'Unexpected token: operat...
Exposition asked 6/7, 2017 at 20:23
3
I would like to use Browsersync with PHP, but I can't seem to get it to work properly.
Currently I am using Gulp. Is it possible to either use Browsersync with XAMPP/MAMP, or use a Gulp plugin to ...
Hangchow asked 19/3, 2017 at 21:31
5
Solved
I am using this file matching in gulp:
'content/css/*.css'
But I would like to only include the files that do not start with an underscore. Can someone tell me how I can do this?
Here's the cod...
3
Solved
What I have been trying to get is, work with npm version to update the package.json and create a tag and then commit my changes. In this way, I will be able to have tags by version, auto versioning...
5
Solved
Using gulp-sass I can include .scss files with @import 'filepath.scss';
But when I try to import normal css files with @import 'filepath.css', It just added the import line of import url(filepath....
Caras asked 1/1, 2015 at 1:55
2
Solved
I'm trying to do something like this:
gulp.task("test", async () => {
return gulp.src("**/*.scss")
.pipe(print((filePath) => `File: ${filePath}`));
});
(print is gulp-print)
But it give...
Swayback asked 9/12, 2015 at 20:24
5
Solved
I want to use a combination of VScode + Gulp + Electron to build an application. A nice feature of the development workflow would be to add an live reload task to my Gulp watch task, to reload the ...
Gualtiero asked 25/5, 2015 at 20:42
4
I am using gulp for a project and I added lighthouse to the gulp tasks like this:
gulp.task("lighthouse", function(){
return launchChromeAndRunLighthouse('http://localhost:3800', flags, perfConf...
Business asked 13/9, 2017 at 13:41
11
I am new to nodejs and gulp stuff. I working on a nodejs project in which I have to run jslint on all the files. I am using gulp for this purpose.
My problem is that In order to run gulp on cli I ...
Corot asked 12/11, 2015 at 17:25
4
Solved
We're running Jekins which kicks off a gulp build process. As part of the gulp build process we trigger an msbuild task.
Every second build fails with the message:
ASPNETCOMPILER : error ASPRU...
8
I am trying to use the ng-factory generator to scaffold a new project to build an angularjs component. After the project has been created with the yo ng-factory command, I tried to run it using the...
Leatherjacket asked 2/8, 2016 at 12:7
5
Solved
Gulp-sass recently updated to version 5.0. They describe that it doesn't include a compiler anymore and they say you have to install in separately.
They have documentation on how to let gulp-sass r...
© 2022 - 2024 — McMap. All rights reserved.