gulp Questions
5
Recently started working with Gulp and I can't figure out is it really necessary to have a copy of node_modules directly in folder with current project?
E.g. I have this structure:
mysite
└─build...
1
I have a webpack build that utilizes the watch() method to continuously rebuild my javascript as I work. I also have a watcher that uploads changed JS files to a remote server.
Right now when I ch...
Sacramentalism asked 11/1, 2016 at 19:8
6
Can't seem to find any debug option or plugin in webpack to show what exactly went into a chunk.
Why do I need this? I've noticed cases where code splitting literally makes everything much larger...
Soleure asked 30/4, 2015 at 11:19
3
I'm trying to convert a old gulpjs file to es6 but i keep getting this error message in the concat task:
Error: Recived a non-Vinyl object in dest()
My gulpfile.js:
import gulp from 'gulp';
/**...
Overcapitalize asked 3/7, 2018 at 20:33
4
Solved
Below you can see simplified view of an issue. Basically, I'm able to call task1.js using gulp.series in tasks task2,3.js, but once I add same code to call task1.js in task4.js - Task never defined...
Whangee asked 24/5, 2018 at 9:5
10
Before I can run gulp in my project I need to run npm install. This works except on my computer, because I get the following error:
Error: Cannot find module 'socket.io'
at Function.Module._resol...
7
I have 2 versions of node.js , as follow:-
Your environment has been set up for using Node.js 17.1.0 (x64) and npm.
C:\Windows\System32>nvm list
16.13.0
8.16.2
but when i try to use the fir...
6
I'm running karma test cases through gulp as below:
gulp.task('unit-test-karma', function () {
return gulp.src(filePaths.libraryPaths.concat(filePaths.codePathsVerbose.concat(filePaths.testPaths)...
Mayfield asked 26/12, 2015 at 6:36
6
Solved
Our team used the gulp-angular generator with yeoman to scaffold out our web app. It uses browsersync to handle live reloads, which we want. However, we just deployed to our development server, and...
Canal asked 10/9, 2015 at 20:13
2
I've taken a look at the documentation but it's a little thin on what values are acceptable. Does anyone know if there's a value to open Google Chrome incognito and/or have a complete list (who kno...
Cayes asked 13/1, 2016 at 11:51
10
Solved
I have the current gulp task which I use in a gulpfile. Path are from a config.json and everything works perfectly:
//Some more code and vars...
gulp.task('watch', function() {
gulp.watch([con...
Dysgenic asked 27/5, 2014 at 13:31
2
Solved
Consider the following example code (and maybe I am doing it wrong?)
var FlareCurrency = {
};
export {FlareCurrency};
I have the following task:
gulp.task("compile:add-new-currency-minified...
Keneth asked 23/10, 2015 at 4:6
6
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 permitted.
For example, in your g...
4
Solved
So I am using gulp-exec (https://www.npmjs.com/package/gulp-exec) which after reading some of the documentation it mentions that if I want to just run a command I shouldn't use the plugin and make ...
Selway asked 20/1, 2015 at 14:39
5
Solved
This happened randomly as I was updating my CSS file and then refreshing to notice no changes were being shown. I eventually noticed that Task Runner Explorer window had "failed to load" under my G...
Lemmy asked 16/10, 2016 at 23:9
3
Solved
I have several source files in a Visual Studio 2013 wep application project that I process using gulp version 3.8.11. Those files are Unicode (UTF-8 with signature) - Codepage 65001 encoded text fi...
Gawain asked 23/4, 2015 at 17:33
4
Getting to grips with Gulp and have a question.
So I have a gulp CSS task like the below which works just fine:
var sassDir = 'app/scss';
var targetCssDir = 'public/assets';
gulp.task('css', fun...
2
Solved
I'm using gulp to copy all files from one dir to another using code like this:
gulp.src([ 'app/**/*' ]).pipe(gulp.dest('dist'));
Glob docs say * match all files, but in fact files which have nam...
7
Solved
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 started happening on all other projects....
Paintbox asked 1/4, 2017 at 11:9
7
I created a module (webapp-module-storage) which has the following definitions:
package.json
{
"dependencies": {
...
},
"devDependencies": {
"gulp": "^3.9.1",
...
},
"name": "webapp-modul...
Anatto asked 29/6, 2016 at 15:24
12
Solved
On Windows 7, I've installed gulp as explained here: http://markgoodyear.com/2014/01/getting-started-with-gulp/:
npm install gulp -g
In my app folder: npm install gulp --save-dev
I create a gulpf...
5
Solved
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 end set-up, and requires ports to be ...
Cataract asked 8/2, 2021 at 19:48
6
Solved
I am running a typescript build and getting errors in node_modules. Why isn't it ignoring this folder? I have it in the exclude section of my tsconfig.json. The really strange thing is that I have ...
Whipstock asked 13/2, 2016 at 16:13
2
Amazon Web Services - Command Line Interface (AWS-CLI) has a sync command. Unfortunately AWS CLI's sync method is a bit buggy. I'd like to sync to S3 using a gulp build process and Amazon's javascr...
Febri asked 17/4, 2014 at 9:8
4
I am following this SASS tutorial by net-ninja on YouTube which recommends installing gulp with SASS. However I can't get gulp to work. As per the tutorial I created the gulpfile.js, index.html and...
© 2022 - 2024 — McMap. All rights reserved.