gulp-sass @import CSS file

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...

Gulp Autoprefixer Not Working

I'm unable to get Autoprefixer to work with Gulp. I'm using opacity in my CSS, gradients, and transforms and there aren't any vendor prefixes showing up. Otherwise, everything else is...

How can I make multiple projects share node_modules directory?

Whenever I make projects, I have to download all dependencies of node modules. Without copying the node_modules, Is there anyway to share the central node_modules in multiple projects? like the...

How to fix Unhandled 'error' event. Broken @import declaration of "A" while using Gulp?

I've been happily compiling using gulp.js but this afternoon I started getting this error: events.js:72 throw er; // Unhandled 'error' event ^ Error: Broken @import...

I can’t install ionic on Mac OS X 10.10.3

My Versions are : Node version is v0.10.33 npm version is 1.4.28 Cordova version is 5.0.0 The error that occurred when I installed ionic: **jce010:~ Tareqalmasri$ sudo npm install -g...

How to use SASS in Ionic framework?

I am trying to use SASS in my project. I open this link and follow all command. I create a project and setup SASS. http://learn.ionicframework.com/formulas/working-with-sass/ I got this directory...

How to execute a gradle external task (Exec) in background?

I'm using gradle and gulp to build and launch my JEE web application that is based on JDK6+, and the web container is Jetty. Gulp is used to process static resource, such as concat and minify...

Nodejs npm step downloads packages on every build in TeamCity

I'm a bit of a n00b when it comes to nodejs npm, but since implementing it in our build environment using steps recommended on several articles its tripled our build times. We use it for the...

NPM vs. Bower vs. Browserify vs. Gulp vs. Grunt vs. Webpack

I'm trying to summarize my knowledge about the most popular JavaScript package managers, bundlers, and task runners. Please correct me if I'm wrong: npm & bower are package managers. They just...

node.js Error: Cannot find module 'lodash.assign'

I have installed node.js in windows 64bit and i run into this when runnig gulp on local project. another note: npm install went good with packages.json Error: Cannot find module 'lodash.assign' ...

Android White Background when keyboard fades away

Video of the problem from a different user but its the same http://imgur.com/ca2cNZv I have a background image set as follows : .pane { background-image: url("../img/inner-banner-bg.jpg"); ...

Why is gulp complaining about Maximum call stack size exceeded?

I am writting a gulp tasks where I take several js file , concat them , minify those.. same with scss into css etc ...normal stuffs And, it is for Drupal 8 Here is my gulpfile. However on running...

How to build a non minified production code with webapp generator gulp?

I have scaffolded a project with webapp generator. The project only works with localhost but not if I open file directly in browser with file scheme. The url http://localhost:9000/ opens the...

After minify a javascript files using gulp, It gives me error

This is a project I brought from the internet, I think this used laravel framework and compressed using Gulp. It's working fine. But I need to modify js files in it. Here is project...

how to download and install all node modules through package.json?

I want to invoke and download all node modules through maven, in maven I have defined the plugins to install it but now in my package.json i have defined the following npm install command, please...

Gulp Js & BundleConfig.json Sass Not Compiling @Import?

I am new to this whole Grunt/Gulp setup, and I'm trying to set up a simple solution. My JS, Html and CSS is working of sorts. But I cannot get the SASS to compile correctly. It's a .Net core...

How to manage ASP.NET Core bundleconfig.json for multiple environments?

What's the best practice for using the ASP.NET Core bundleconfig.json with development versus production environments? The prior bundler (BundleCollection) would pay attention to the DEBUG...

gulp.series() assertion error with Gulp v4

Am I doing something wrong or is this a gulp v4 problem? When running the "build-minify" task, I get the following error: assert.js:42 throw new errors.AssertionError({ ^ AssertionError...

Gulp Cannot convert undefined or null to object

my gulpfile.js contains the ff: 'use strict' // All add-ons required const gulp = require('gulp') const uglify = require('gulp-uglify') const sourcemaps = require('gulp-sourcemaps') const csso =...

Gulp and LiveServer (VS Code extension) Issue (Saving twice)

I'm having an issue with Gulp and my VS Code extension - LiveServer I have my Gulp tasks set up to compile my Sass, minify my CSS, then watch for changes. The live reload is handled via an...

How to compile SASS and minify CSS and create its map with gulp 4 in same task

How to compile SASS and minify CSS and create its map with gulp 4 in same task Im using Gulp 4, i wonder if there is a way to put the css with its map and also put the css minified with its map,...

gulp-minify-css-names producing non-modified files

I am looking for long time for a solution that will help me automate renaming/minifying class names in HTML, JS, CSS files altogether across whole project in gulp. There are mane css + js only...

How i can start a local server (by gulp) and run autotest on this server in pom.xml

I want to start a local server and run an autotest by config in a pom.xml file like below <execution> <id>Run GUI</id> <phase>pre-integration-test</phase> ...

VS 2019 gruntfile.js no tasks found when using 'sass = require('node-sass')'

I'm trying to set up grunt-sass for the first time on a new .Net Core 3.1 web app. I've gone through MSFT's steps to add grunt to a project here outlined here and then modified it with the steps...

Processing arrays within Gulp to create bundles in each directory with ordered files

Like most I have been concatenating my JS/CSS files into one big file within Gulp, however, with HTTP2 becoming the norm nowadays I thought I would change my gulp file instead to make related...

Gulp error: Task function must be specified

This is my first time using Gulp, I am trying to make a gulpfile to minify and merge css and js files, but I have this error when I run the command...

bundleconfig.json configured, but bundles not being created in ASP.NET Core 3.1

Using the Bundle and minify static assets in ASP.NET Core page as a guide, I've created a bundleconfig.json in my project root and set it up to create the css and script bundles I want to create....

getting rid of relative path react (removing "../..")

I have downloaded a react project with the following package.json : { "private": true, "main": "src/index.js", "dependencies": { "@material-ui/core": "4.10.0", "@material-ui/icons":...

Cannot use import statement outside a module - Timber Starter Theme - Gulp

I'm coding a simple website using Timber Starter Theme on Wordpress but I need import some modules in my js files. I use gulp an here is my gulp file // Gulp...

Getting ` Error [ERR_REQUIRE_ESM]` while running `gulp` command

I'm new to gulp and trying to automate some task. Here's my environment: npm version: 8.1.0, node version 17.0.1, gulp cli version 2.3.0 and gulp version 4.0.2 And here my gulpfile.js: // list of...