gulp-sass Questions
7
I got an error when using this line of code
const sass = require('gulp-sass')(require('sass'));
The error output is :
Requiring external module babel-register
ReferenceError: require is not define...
Thunderous asked 8/9, 2021 at 8:41
10
Solved
I was trying to install package.json with npm init to install bootstrap in my folder but i am getting the error.
npm install [email protected] --save
I am new to this i can't exactly figure...
Devilfish asked 5/1, 2018 at 5:4
5
Getting below error for return process.dlopen(module, path._makeLong(filename))
module.js:597
return process.dlopen(module, path._makeLong(filename));
^
Error: The specified procedure could not...
22
Solved
I have tried to install gulp-sass latest version with npm i gulp-sass --save-dev in the begining I got a lot of errors but later solved them. But whenever I try to run gulp I got this error:
Error:...
14
Error: Node Sass does not yet support your current environment: OS X Unsupported architecture (arm64) with Unsupported runtime (93)
For more information on which environments are supported please...
44
Solved
I have installed Node.js modules by 'npm install', and then I tried to do gulp sass-watch in a command prompt. After that, I got the below response.
[18:18:32] Requiring external module babel-regis...
34
Getting this error on Arch Linux with node-sass. I'm using it with gulp-sass.
Node Sass does not yet support your current environment: Linux 64-bit with false
Versions
$ gulp -v
[19:43:15] CLI ...
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...
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
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
4
I just started using gulp-sass, is there a "easy" way to find out what version of Sass, that is being used?
Not that I think it matters too much but I'm using gulp-sass in Visual Studio 2015 (CTP6...
Dependence asked 22/4, 2015 at 9:48
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
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...
4
Solved
I was struggling with setting up libsass as it wasn't as straight-forward as the Ruby based transpiler. Could someone explain how to:
install libsass?
use it from command line?
use it with task r...
2
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"linux","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS: lin...
Gormley asked 14/11, 2018 at 6:42
2
I want to use multiple include in the same SCSS. For example:
.section-ptb {
padding-top: 130px;
padding-bottom: 130px;
@include desktop {
padding-top: 80px;
padding-bottom: 80px;
}
@include...
Hierolatry asked 27/4, 2019 at 15:45
4
I am having problems getting my SASS files to compile having now split them out and importing ones I require in my main scss file.
I have a styles folder that contains:
main.scss
top_menu.scss
...
5
Solved
I am getting this error Cannot find module '../lib/completion' however I have installed completion and completion.js is present in the lib file.
->gulp compile
module.js:327
throw err;
^
Er...
Landward asked 18/3, 2016 at 9:53
3
Team,
My Ci Pipeline azure getting failed find error below.
I have tried solution from How to fix ReferenceError: primordials is not defined in node but no luck
Error below :
##[section]Startin...
Senzer asked 14/11, 2019 at 12:3
3
This weekend I started playing around with gulp. I wanted to set up a task which can
compile my sass files
keep working if I make mistakes in the sass file
work with sass Bootstrap
generate sou...
Audiophile asked 5/10, 2014 at 13:39
2
I'm using Node.js 10 which is the recommended version and just trying to run a simple gulp task to compile some SCSS files. However, I am getting the following error.
Node Sass could not find a...
8
Solved
Today I tried to learn more about Google Web Starter Kit so I followed these instructions and after a lot of fight and problem I just tried to start a local server (the first task we’ll look at is:...
11
I currently have two tasks, that both compile sass files. I would still like to concat the two directories into separate files but it seems that it would be more maintainable if I could simply crea...
3
Is there any option available in gulp-sass to combine sass files?
For example:
main.scss:
$var: red;
control.scss:
@import 'main';
.a{
color: $var;
}
The combined output file should be si...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.