Gulp throwing error: File not found with singular glob

As it turns out I missed changing file name in HTML file as it was calling main.css instead of style.css. <!–build:css css/main.min.css –> <link rel=”stylesheet” href=”https://stackoverflow.com/questions/36839828/css/main.css”> <!– endbuild –> Changed it to: <!–build:css css/style.min.css –> <link rel=”stylesheet” href=”https://stackoverflow.com/questions/36839828/css/style.css”> <!– endbuild –> An honest mistake but I believe someone else can run into something similar 🙂

Gulp + browserify + 6to5 + source maps

Use this as your start point: var gulp = require(‘gulp’); var gutil = require(‘gulp-util’); var sourcemaps = require(‘gulp-sourcemaps’); var source = require(‘vinyl-source-stream’); var buffer = require(‘vinyl-buffer’); var browserify = require(‘browserify’); var to5ify = require(‘6to5ify’); var uglify = require(‘gulp-uglify’); gulp.task(‘default’, function() { browserify(‘./src/index.js’, { debug: true }) .transform(to5ify) .bundle() .on(‘error’, gutil.log.bind(gutil, ‘Browserify Error’)) .pipe(source(‘bundle.js’)) .pipe(buffer()) .pipe(sourcemaps.init({loadMaps: … Read more

Gulp doesn’t work

This error message indicates that the module ‘del’ cannot be found. It seems that the ‘del’ package is not installed or not properly configured in your project. Try installing the ‘del’ package by running the following command in your terminal: npm install del –save-dev If you have already installed ‘del’ package and still getting this … Read more

Mismatch in gulp local and CLI versions

I am answering my own question, just so it is useful for others. Is there a way to remove the global gulp version, but keep the project specific gulp? No. AFAIK, you are required to install gulp globally as well as one specific to your project. More info on gulp versions here. Why do we … Read more

how base option affects gulp.src & gulp.dest

(You’re not looking at the official gulp documentation. http://github.com/arvindr21/gulp is just some guy’s fork of the gulpjs github repo. The official repo is http://github.com/gulpjs/gulp/ where the base option is indeed documented.) To answer your question: If you don’t specify the base option yourself, then everything before the first glob in your gulp.src() paths is automatically … Read more

what does gulp-“cli” stands for?

The goal of gulp-cli is to let you use gulp like a global program, but without installing gulp globally. For example if you installed gulp 3.9.1 globally and your project testGulp4 has gulp 4.0 installed locally, what would happen if you run gulp -v into testGulp4? Without gulp-cli globally installed : CLI version 3.9.1 In … Read more

techhipbettruvabetnorabahisbahis forumueduedueduseduseduseduseduedusedusedus