All Questions
555
questions
0
votes
0
answers
27
views
When i try to compile code by running npm run dev i am receiving error 1 ERROR in child compilations
Receiving below error when trying to run "npm run dev" for compiling
1 WARNING in child compilations(Use 'stats.children: true' resp. '--stats-children' for more details)
ERROR in ./scss/...
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 ...
1
vote
0
answers
28
views
Error: EACCES: permission denied When trying to run install sass
I am trying to install Sass but I keep on getting this error:
I have installed node-20.30.1.pkg successfully
If I run : node -v I get - v20.13.1
If I run : npm -v I get - 10.5.2
If I run : sass --...
0
votes
0
answers
24
views
How to split a css from a .scss mobile first using Webpack and Laravel Mix
Good morning. This is the code in my webpack.mix.js:
let mix = require("laravel-mix");
require("laravel-mix-compress");
mix.setPublicPath("assets");
mix
.sass("...
0
votes
0
answers
16
views
Gulp Compiling issues
I have picked up a job from a friend, who got their site built from Fiver, I am having Huge trouble compiling ANYTHING, i have tried installing gulp, npm run watch, and neither seem to work.
The files ...
0
votes
0
answers
68
views
Error when trying to use @import "file" or @use "file"
I use Sass in Angular with WebStorm.
In styles.sass I use:
@import "colors"
In browser, everything works fine, but in the Output tab of Web Storm. I receive this error:
cmd.exe /D /C call ...
0
votes
1
answer
64
views
How do I configure webpack to ignore my non-existing resource in scss?
I receive an error when compiling my scss file.
In the .scss file I have:
body {
background-image: url("/static/background.webp");
}
This is the error I get:
error in ./...
1
vote
1
answer
37
views
How to Watch SASS files in all sub directories using npm script
I would like to watch all sass directories and generate CSS files to the 'CSS' folder including sub directories. How can I achieve it. Presently I write all directories separately inside the NPM ...
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
Updating Angular from 12 to 13 causes sass errors when running npm start
I have an Angular app in which I need to update the version from 12.2.6 to 13.4.0.
I've been following the Angular Update Guide here - https://update.angular.io/
After I run the command:
ng update @...
0
votes
0
answers
136
views
ReferenceError: globalThis is not defined for app.scss
While running my React project on an Azure pipeline, I encounter an error specifically during the 'npm build:prod' phase.
The process works seamlessly on my local environment, but on Azure, it crashes ...
0
votes
0
answers
36
views
ReactJs not load sass files
I have Reactjs app it was working fine, I have change my pc and get the code from repository after I run npm install all the packages downloaded find, when I run my app npm start the app is running ...
0
votes
1
answer
56
views
node-sass electron structural recursive
I have following structure:
.app
..assets/css/style.scss
..assets/css/partials/fonts.scss
I would like to watch for any changes in css/*, and from style.scss - compile it down to style.css. It's ...
0
votes
0
answers
44
views
npm bootstrap-icons Icon Font sass not compiling correctly
I'm using Node to build a small, static website with Bootstrap Icon Fonts
<i class="bi-boombox"></i>
I followed the Bootstrap example on Github. Issue is the bootstrap-icons.css ...
0
votes
0
answers
20
views
Experiencing gulp difficulties and learning gulp
I have some difficulties with gulp creating a running webpage, my default and scssTask are failing. I input 'gulp' in my terminal on VSCode and it is showing that my functions are starting but then '...