Node-sass Not Installing - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Node-sass Not Installing (990 Views)
| Node-sass Not Installing by Stormtrooper11(op): 8:00am On Nov 30, 2022 |
Hey guys, I'm currently working on a MERN project and I had to install node-sass for the react frontend part. I tried npm i node-sass, yarn add node-sass and other commands but it doesn't seem to work. I've checked out stackoverflow.com to know avail. Please, any suggestions on how I could get this done? Thanks very much. |
| Re: Node-sass Not Installing by jikins(m): 10:22am On Nov 30, 2022 |
Stormtrooper11:Node-sass has been depreciated I believe, install sass instead |
| Re: Node-sass Not Installing by qtguru(m): 11:05am On Nov 30, 2022 |
Node-sass still relies on sass, install Ruby and sass package |
| Re: Node-sass Not Installing by Deicide: 12:51pm On Nov 30, 2022 |
And for we Nigerians way day manage data, I'll suggest you move from yarn|npm to pnpm. |
| Re: Node-sass Not Installing by Stormtrooper11(op): 4:48pm On Nov 30, 2022 |
jikins:Sass is already installed but the error is asking for the installation of node-sass |
| Re: Node-sass Not Installing by Stormtrooper11(op): 4:49pm On Nov 30, 2022 |
Deicide:Pnpm consumes little data? |
| Re: Node-sass Not Installing by Deicide: 5:16pm On Nov 30, 2022 |
Stormtrooper11:No pnpm is download once and then you can do something like pnpm add <PKG> --ofline |
| Re: Node-sass Not Installing by QuoteJustOnce: 6:55pm On Nov 30, 2022 |
Deicide:yarn does the same thing by caching packages, install once and install again offline as long as cache hasn't been cleared. OP, i am sure you realize there are many ways to achieve something. and you didnt state if you're on a Linux, Macos or Windows machine |
| Re: Node-sass Not Installing by qtguru(m): 6:56pm On Nov 30, 2022 |
Stormtrooper11:oh i see, i experienced that too, just run sass alone on watch mode you don't need node-sass, if you have sass are you on Linux or Windows ? |
| Re: Node-sass Not Installing by Stormtrooper11(op): 8:01pm On Nov 30, 2022 |
qtguru:I am on Windows. |
| Re: Node-sass Not Installing by Stormtrooper11(op): 8:01pm On Nov 30, 2022 |
Deicide:Wow |
| Re: Node-sass Not Installing by qtguru(m): 8:05pm On Nov 30, 2022 |
Stormtrooper11:can run sass in the command line and it works ? |
| Re: Node-sass Not Installing by Deicide: 8:55pm On Nov 30, 2022 |
QuoteJustOnce:on the same project or separate project? |
| Re: Node-sass Not Installing by Stormtrooper11(op): 10:11pm On Nov 30, 2022 |
qtguru:It's presently not working maybe because I already have sass installed as a package but the app is still asking for node-sass |
| Re: Node-sass Not Installing by QuoteJustOnce: 12:33am On Dec 01, 2022 |
Deicide:the cache is both local & global (localFirst then Global strategy), so will work on different projects |
| Re: Node-sass Not Installing by Qinglong(m): 12:40am On Dec 01, 2022 |
Stormtrooper11:Did not work for me as well when I was trying to learn Sass. I just followed this from stack overflow. I faced the similar issue in my local HTML Project. You should make following changes:I think I tweaked some things, I am not even sure again but it was this post that helped me. This was for CSS though, so I'm not sure if it'll work for your issue. |
| Re: Node-sass Not Installing by Stormtrooper11(op): 6:52am On Dec 01, 2022 |
Qinglong:Thanks very much |
| Re: Node-sass Not Installing by Deicide: 10:25am On Dec 01, 2022 |
QuoteJustOnce:Well I didn't know that, anyways good to know. |
How To Install Sass? • Pycharm Is Not Installing. Help!!! • React Js Not Installing • 2 • 3 • 4
Linking Visual Basic 6.0 With MS Word And Others • Java Instsllatin 5/e • Please Help Review Our Garage48 Entry: Cooknchop. Thanks