Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

How can I prevent my node production deployment from installed devDependencies?

I'm running into an issue with the production deployment of my Node app. When I deploy to dev it's fine. When I deploy to production, the build errors on the node-sass package. Based on this SO thread ...
kdub1312's user avatar
  • 905
1 vote
0 answers
55 views

stack Error: Could not find any Visual Studio installation to use even after upgrading node-gyp and installing vs code tool

I have already followed this link node-gyp upgrade and upgraded it to 11.0.0 . But still getting this error when trying to run npm install. stack Error: Could not find any Visual Studio installation ...
Saimuga's user avatar
  • 435
0 votes
0 answers
61 views

How can I replace node-sass module?

I'm trying to start my website again after few years but can not change the code because my gulpfile.js for the compiler does not start. Terminal says that the reasoin is that node-sass I used before ...
Abai's user avatar
  • 1
0 votes
2 answers
86 views

Error: Could not find any Visual Studio installation to use when building node-sass with node-gyp on Windows

I'm trying to install dependencies for a frontend project from GitHub, but I keep encountering the same error during installation. The error that keeps occurring PS C:\Users\User\Desktop\...
Omar Yehia's user avatar
0 votes
0 answers
22 views

Trying to download dependencies, but got "Build failed with error code: 1"

I got a great portfolio template from Start Bootstrap, but I ran into an issue installing dependencies. There is no node_modules folder after running npm i. This is my package.json: { "title&...
Peter Farrow's user avatar
0 votes
1 answer
173 views

Error while building node-sass: ModuleNotFoundError: No module named 'distutils'

I'm encountering an error while trying to build my project using npm install. The error message I'm getting is: npm ERR! code 1 npm ERR! path C:\Users\user\Desktop\my_project\client\node_modules\node-...
Тимур Агаев's user avatar
0 votes
0 answers
86 views

Upgrading Angular v11 to v12 getting SassError on ng serve

I upgraded my Angular app from 11 to 12. I used the commands: 1: ng update @angular/core@12 @angular/cli@12 --force 2: ng update @angular/cdk@12 @angular/material@12 --force I've encountered some ...
Nouman Shah's user avatar
2 votes
1 answer
46 views

Cannot compile scss file through sass module [closed]

I need a map of initial values, so I'm using this spacer.scss @use "sass:map"; $initial: 4px; $values: (); @for $i from -5 through 12 { $spacers: map.sets($spacers, $i, $i * $spacer); } ...
Samvel's user avatar
  • 23
0 votes
0 answers
91 views

Upgrading Angular 14 to 15 giving node-sass build error

I am currently working on a project in Angular 14 and using Node.js version 14.15.0. I am looking to upgrade the project to Angular 15 and Node.js version 18.10.0. However, I encounter errors when ...
Ajay Dubey's user avatar
0 votes
0 answers
73 views

migrating node-sass to dart sass in react app and getting compilation error from react-dates package (da)

I am trying to migrate from node-sass to dart sass. I am also using react-dates package and including datePicker css file. color: darken(#cacccd,10%); function is being used in datePicker and I am ...
Komal Kanpariya's user avatar
0 votes
0 answers
138 views

How to fix npm error for node-sass npm error with node 20

I have upgraded my node from 12 to 20. Now node-sass library is causing a problem. Even if i am trying to install [email protected] Its internally trying to install 4.14.1 from @angular/cli module. Npm ...
Priyanka 's user avatar
0 votes
0 answers
51 views

Icomoon - switching from node-sass to sass - good way

at the moment I have hundred websites using icomoon. The system builds styles using node-sass - we want to switch to the sass package. And here comes the problem: Sometimes, to insert an icon, we use ...
Kuci's user avatar
  • 198
0 votes
1 answer
138 views

error after upgrading from angular 12 to angular 15

i'm upgrading an angular project from angular 12 to 15. after doing all the necessary steps, i still get this error after building: knowing that i already removed all the ~ from the css imports and ...
mohamed souilmi's user avatar
0 votes
2 answers
1k views

How to fix node error after upgrading node version to 20

I have upgraded my node to version 20, and my angular 5 code is breaking because of that. Errors that I am getting npm info run [email protected] postinstall {code:0, signal:null } npm info run node-...
Priyanka 's user avatar
0 votes
1 answer
939 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 ...
Max Lyman's user avatar
0 votes
0 answers
72 views

Additional CSS file with fix name and path in Nextjs

I would like to generate an extra/additional CSS file with fix path, so I can use that within a rich text editor in a CMS. Nextjs by default generates layout and pages CSS files like this: _next/...
levipadre's user avatar
  • 619
1 vote
0 answers
36 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 --...
Fernando's user avatar
2 votes
0 answers
639 views

error: no member named 'AccessorSignature' in namespace 'v8'

I'm using Node - v20.12.2 node-sass- 9.0.0 macOS when I'm trying to install latest node-sass library this error was thrown ../../nan/nan_callbacks.h:55:23: error: no member named '...
Muditha's user avatar
  • 303
0 votes
0 answers
129 views

npm ERR! code 126 - Exec format error when installing node-sass

I'm encountering an issue while trying to install node-sass in my project. Whenever I run npm install, I receive the following error: npm ERR! code 126 npm ERR! path C:\Users\hix\Documents\GitHub\...
hicham outaleb's user avatar
0 votes
0 answers
304 views

Webpack Error: TypeError: Cannot read properties of undefined (reading 'join')

I'm working on a legacy MEAN project and i have updated nodejs to version 20 and updated webpack, webpack-command and webpack-cli and node-sass packages, now encountering the above error when running ...
zohaib alvi's user avatar
0 votes
0 answers
117 views

Error Installing Package: Cannot find module 'npm-cli.js' - Node.js v20.12.2

Sass package not installed I wanted to create a css library using sass. I have already used the sass package several times to compile the css file. I ran this command: npm install node-sass --save-...
Mehrab's user avatar
  • 1
0 votes
0 answers
112 views

Trouble installing the create-react-app Must-Have-Libraries using yarn or npx; node-gyp, node-sass, or dependency problem?

I tried using the following commands in my project folder's terminal to follow along with a book I am learning from, titled "Integrating D3.js with React: Learn to Bring Data Visualization to ...
drcasas2's user avatar
0 votes
0 answers
27 views

im getting 'local gulp not found' in an old angularjs code despite doing npm install and also installing gulp packages

Ive been provided an old Angularjs code by my senior developer and i am told to build and run it in my laptop. but i tried npm install --save-dev . the code contains a gulp file also , and it had a ...
Sai Siddharth P's user avatar
1 vote
0 answers
336 views

Angular 14 - Getting SASS errors unterminated errors at line 17 [duplicate]

We recently migrated from Angular v9 to Angular v14. The project runs fine when we do ng serve but when we are trying to build the application using ng build it won't build and gives the below errors: ...
Sainath S's user avatar
  • 307
1 vote
1 answer
83 views

How do I Reverse Variable Order using @function in SCSS

Ok, so I'm working on a custom scss framework, and I'm trying to make all predefined variables easily configurable by the user, however because of how CSS works I need to have a certain variable ...
Auston Robertson's user avatar
2 votes
0 answers
834 views

How can i fix node-gyp invalid syntax error for node-20, npm 10 in ionic angular product, Macos ventura 13.3.1

npm ERR! code 1 npm ERR! path /Users/ashad/abdullahSalam/ioniceatonlineapp/node_modules/node-sass npm ERR! command failed npm ERR! command sh -c node scripts/build.js npm ERR! Building: /Users/ashad/....
g.m.ashaduzzaman's user avatar
0 votes
2 answers
941 views

Module Error: Cannot find module 'sass' REACT

I'm building a react app using sass I wrote to terminal: npx create-react-app . then I wrote npm install -g sass Require stack: - D:\intern\neo\node_modules\sass-loader\dist\utils.js ...
Dhruv verma's user avatar
0 votes
1 answer
104 views

Transpiling SASS to different production environments on Azure WebApps

I have a scenario, where I have single development instance, single staging instance and multiple production environments, each running it's own Azure WebApp and database. Each "tenant" is ...
JoMaFrCr's user avatar
0 votes
1 answer
331 views

running yarn fails to build after updating node version

I've updated my node version from 14 to 18 and now I'm seeing build errors around node_sass. I've updated node_sass to v8 in my package.json file, removed the node_modules folder and yarn.lock file ...
SlugLord's user avatar
  • 155
-1 votes
1 answer
3k views

Node sass not support in update node version

I need help. Previously, I worked on a project where the Node version was 12.22.12, and the Node-sass version was 4. Now, I've updated the React version and Node version. React and React-dom are now ...
Badruzzaman Pritom's user avatar
0 votes
0 answers
39 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 ...
Mohammed Mahammed's user avatar
-1 votes
2 answers
296 views

Getting node-sass error while doing npm install inside docker container in windows WSL

I am trying to setup a laravel project in my windows setup via WSL and i am using WSL. now the issue is, when i do npm install i am getting the following error and i have tried different type of ...
kishan maharana's user avatar
1 vote
1 answer
266 views

Is there a way to have the closing brace for a CSS class go to a new line when compiling SASS with Node Sass?

I am having some trouble with node-sass and my stylelint to write my CSS in the way I would like. Right now, these are the rules I am using to line my CSS: { "extends": [ "@...
zeropsi's user avatar
  • 694
0 votes
1 answer
78 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 ...
simon's user avatar
  • 2,387
0 votes
2 answers
1k views

npm rebuild node-sass crashes on M1 Pro chip

I recently switched to a Mac with an M1 Pro chip and found that this chip conflicts with node-sass. People with the same problem advise replacing packages from node-sass with sass or updating node and ...
Valentyn's user avatar
1 vote
0 answers
96 views

rollup-plugin-postcss uses node-sass, node-sass is deprecated, does rollup-plugin-postcss work with sass

Am configuring rollup to create a library package. The rollup-plugin-postcss uses node-sass, node-sass is deprecated and needs python to install, is there some way to make rollup-plugin-postcss work ...
Mickey Puri's user avatar
1 vote
1 answer
5k views

node-gyp node-sass problem with using `npm install`

I have a problem related to node-gyp, node-sass. I've just updated the npm from 6 to 8.19.4. Everything used to work against the 6th version. However, now - after moving to npm@8 - I see the error ...
Alexandre Adereyko's user avatar
0 votes
0 answers
251 views

Reactjs - SassError: argument `$color` of `red($color)` must be a color

After upgrading node-saas, I faced following error, Compiled with problems: × ERROR in ./src/assets/scss/themes.scss (./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].oneOf[7].use[1]!./...
Fidaali Vohra's user avatar
0 votes
0 answers
843 views

Error: Command failed: C:\Python310\python.exe -c import sys; print "%s.%s.%s" % sys.version_info[:3];

npm ERR! gyp ERR! stack Error: Command failed: C:\Python310\python.exe -c import sys; print "%s.%s.%s" % sys.version_info[:3]; npm ERR! gyp ERR! stack File "<string>", line ...
Coding With Sheri's user avatar
0 votes
1 answer
711 views

node-sass older version compatibility problems with node version 16

I'm having an issue cloning this repo locally https://github.com/savajapurva/E-Learning-MERN. The problem is due to node-sass used is version 4.0.0 and is not compataible with my node v16.15.1. What ...
Henok's user avatar
  • 15
1 vote
0 answers
193 views

Failing to compile/build: TypeError: this.getOptions is not a function

I've reviewed other responses to this issue, but this seems more complicated. My package.json has my loaders and webpack set up as follows: "engines": { "node": "14.17.4&...
Taco's user avatar
  • 45
0 votes
1 answer
213 views

Upgrading EmberJS project to Node 16 with yarn results in node-sass conflicts. How to fix it?

I'm trying upgrade to Node 16 enviroment on my emberJS project using yarn. package.json: { "devDependencies": { "@babel/core": "^7.22.1", "@babel/plugin-...
Minh Ho's user avatar
  • 63
0 votes
1 answer
500 views

npm i won't work thanks to some dependency building error

I'm using Node 12 since it's an old project. I already tried Node 18. An npm update didn't work either. NPM version can be fetched from log and I don't know what you could need more. EDIT: I also ...
Atronix's user avatar
  • 59
0 votes
1 answer
375 views

converting from node-sass to sass - alternative to using a parent selector in a mixin

I am trying to upgrade my Vue stack to support vite because it generates a much faster codebase for use on the web. I have done this in several projects, but not on any that use sass. Since vite uses ...
Skaman Sam's user avatar
0 votes
0 answers
237 views

node-sass doesn't install on vsCode

I have created a ReactJS project which was functioning perfectly and was hosted. Unfortunately, it has stopped working completely for some time now, and it seems to be related to different errors I ...
monsir gaufre's user avatar
0 votes
0 answers
444 views

sudo npm uninstall node-sass: npm ERR! ERESOLVE unable to resolve dependency tree

I am having trouble uninstalling node-sass from our react app. My goal is to switch to sass from node-sass. sass appears to be currently supported When I uninstall node-sass I get the following error: ...
Drew Gallagher's user avatar
0 votes
2 answers
2k views

Error: PostCSS received undefined instead of CSS string but Locally Doesnt

I had an error while building my react app test environment but in locally I build it successfully. An error: Module build failed (from ./node_modules/css-loader/dist/cjs.js): Error: PostCSS received ...
Bertug's user avatar
  • 1,090
1 vote
0 answers
481 views

Self signed certificate in certificate chain while yarn install

Unable to do yarn install -lock file getting following error. gyp ERR! configure error gyp ERR! stack Fetch Error: request to https://nodejs.org/download/release/v16.14 .0/node-v16.14.0-headers.tar.gz ...
Obito's user avatar
  • 11
0 votes
1 answer
54 views

How to use result of built-in function in another function in SASS?

I want to use result of darken( $var, 10% ) in oppositeColor( $darkenedColor ) function in SASS. I have the following code: $color1: #000000 !default; $color2: darken( $color1, 5% ) !default; $color3: ...
The Prophet's user avatar
0 votes
0 answers
117 views

Why i am not able to install "node-sass-middleware"?

enter image description here why it us showing this errors when i type, npm install node-sass-middleware why it's failing to install it?i want to install that package for nodejs project,i tried to ...
The Raw Coconut's user avatar

1
2 3 4 5
19