All Questions
805
questions
0
votes
0
answers
15
views
My VScode does not watch when I use "-w" flag in my package.json
I'm working on a SASS and Bootstrap project in VScode and facing an issue where SASS doesn't watch or compile when I use the "-w" flag. It compiles without the "-w" flag but doesn'...
0
votes
0
answers
9
views
Webpack not watching SCSS glob imported files
I am using webpack to compile my scss files which works fine when initially running npx webpack or npx webpack --watch.
When using npx webpack --watch, only my declared SCSS file (app.scss) in my ...
0
votes
1
answer
117
views
Problem installing npm install, unable to find python2, node-sass and node-gyp
I am starting a new Elixir project and trying to install npm in the assets folder. I keep running up against the same error, first python2 is not found, and then it is either an issue with node-sass ...
0
votes
0
answers
31
views
npm start -> Module build failed
Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Undefined variable: "$bpk-spacing-lg".
on line 13 of src/App.scss
padding: $bpk-spacing-lg * 2;
I run 'npm start' on ...
0
votes
0
answers
31
views
How do I solve this module not found error?
this is my first time using node and sass and I'm running into an error that I can't seem to shake off.
I'm trying to concat some .css files using this script (concat:css) but I'm always getting this '...
0
votes
0
answers
29
views
I am getting error while angular version updating (./src/main.ts - Error: Module build failed)
./src/main.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): Error: Transform failed with 1 error: C:/Users/WCR/Desktop/WhiteCrow/ATS/ats-crm-frontend/src/app/...
1
vote
0
answers
48
views
CONSULDEMOCRACY: Sass fails (sassc-embeded-import stylesheet not found)
User Story
I am trying to deploy a local instance of consuledemocracy and if fails with Sass::CompileError
Description
My system is an Ubuntu 22.04 and i use the following versions:
Rails v6.1.7.7
...
2
votes
0
answers
53
views
Parcel version upgrade is breaking Sass/CSS output
Since updating Parcel from v2.4.0 to 2.10.0, when Parcel compiles my Sass into CSS, the ordering of some of the lines of code is being changed. This is causing some styles to break.
For example - this ...
0
votes
1
answer
31
views
Use Gulp Newer on Array of Sources
I am trying to speed up my watch task by optimizing scss compilation task.
Orginally I had all of my scss compiling into one big app.css file but I found that if I remove some @imports that are rarely ...
0
votes
1
answer
24
views
How do I run npm install node for sass?
enter image description here
Anyone know how to fix this error when trying to run npm install node for sass?
tried sudo npm install --save-dev --unsafe-perm node-sass
error: npm ERR! This is probably ...
0
votes
0
answers
34
views
Dart SASS can't see outside of the /src folder. Why is this?
Dart SASS can't see outside of the /src folder. Why is this?
I have my /node_modules folder at the root of my solution, i.e. next to package.json
All of my development files I put in the /src folder
...
1
vote
2
answers
1k
views
Node Sass version 9.0.0 is incompatible with ^4.0.0
I do not have node-sass or sass package installed in my app. But i keep getting this error me
ERROR in ./src/scss/styles.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/...
1
vote
2
answers
330
views
Angular project ng serve fails, emitted 'error' event on worker instance
Problem Solved - Update:
Turns out it was an error in my css code:
Before:
.title & .smaller {
color: $dark-blue;
font-family: "Roboto";
font-size: 20px;
font-weight: 600;
...
0
votes
0
answers
38
views
What does sass skip the tokenization process step while parsing mean?
In the sass documentation, it says "A Sass stylesheet is parsed from a sequence of Unicode code points. It’s parsed directly, without first being converted to a token stream."
What does this ...
1
vote
0
answers
481
views
Not able to use tailwind css classes in an existing angular project which is using scss
I'm trying to use tailwind css classes in an existing angular project which is using scss. I'm new to angular, tailwind and sass so help would be greatly appreciated. I tried these guides but they did ...