Questions tagged [gulp-sass]

a tool in the form of a gulp plugin that effectively transforms Sass code into CSS.

Guide to setting up gulp with NPM

After following a tutorial on setting up the app, which seemed pretty standard compared to others I have found, I encountered an error when trying to complete step 1.2.3 - creating a gulpfile.js at the root of the project: Error: syntax error near unexp ...

Encountering a problem with npm installation during the setup of node-sass

While attempting to run the npm install command, I encountered an error during the installation of node-sass. https://i.stack.imgur.com/qcDaA.png https://i.stack.imgur.com/YxDi2.png Here is my package.json file: { "name": "XXXXX", ...

The error message "sourcemap is not defined" is throwing a reference

I've successfully installed gulp-sass and gulp-sourcemaps, and I can see their folders in the node_modules directory. Below is my gulpfile: var gulp = require('gulp'), sass = require('gulp-sass'), sourcemaps = require(&ap ...

Whenever I try to execute "gulp" in the terminal, why am I encountering the message "Error: unable to locate module sass"?

Having an issue with running a gulp task on the terminal. When I try to run Terminal > Run Task... > gulp, it keeps showing me the message No gulp task found. Even when I manually type in gulp in the terminal, I still face the same error. which sass ...

Troubleshooting issue with Gulp watch on Node v4.6.0

I'm currently facing a frustrating situation. I had a project up and running smoothly with a functioning gulpfile.js file, everything was perfect until I updated node to version 4.6.0. When I tried to report this issue on Gulp's git repository, t ...

Advantages and disadvantages of using node-sass versus gulp-sass

Curious about the distinctions between node-sass and gulp-sass? Interested in exploring the advantages and disadvantages of each version? I've noticed that node-sass has significantly more downloads on www.npmjs.com, but does that necessarily make it sup ...

gulp-sass version 5 requires manual configuration of a Sass compiler as it does not come with a default one

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 gulpfile: var sass = require('gulp-sass')(require('sas ...

Having trouble getting the Sass module to install on gulp.js with node.js

Every time I try to run npm install gulp-sass --save-dev, I encounter the same error: gyp ERR! build error gyp ERR! stack Error: `C:Program Files (x86)MSBuild12.0inmsbuild.exe` failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C: ...

Error: The gulp-cssmin plugin encountered a TypeError because it attempted to read the property '0' of a null

I am attempting to condense my code, but I am encountering this error: D:\gulp-compiler\node_modules\gulp-cssmin\node_modules\clean-css\lib\selectors\extractor.js:66 return name.replace(/^\-\w+\-/, ...

Struggling to set up Gulp-Sass (Node-Sass) on Raspbian OS for your Raspberry Pi?

I am attempting to set up node-sass or gulp-sass on my Raspberry Pi, but I keep encountering these errors: npm WARN deprecated <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="fb958b969894959dbbc9d5cad5c9">[email protect ...