Ask coding questions

← Back to all posts
How to Use SCSS on replit
IntellectualGuy (823)

Like title, how do I use SCSS on replit. Also I'm using node.js for backend.

Answered by EpicGamer007 (1736) [earned 5 cycles]
View Answer
Comments
hotnewtop
SixBeeps (5221)

1.) Install Sass using npm on the CLI
2.) Run the compiler

Bonus step: Assign the Run button to both compile the Sass and start the server

IntellectualGuy (823)

@SixBeeps Doesn't work when I try to install it, it gives me an error.

IntellectualGuy (823)

@EpicGamer007 It says the operation was rejected by your operating system.

EpicGamer007 (1736)

@IntellectualGuy what command did you run? Did it have the -g flag? If it did, then that is probably why it broke. You have to compile sass without installing the compiler globally.

EpicGamer007 (1736)

@IntellectualGuy can you tell me what the command is?

IntellectualGuy (823)

@EpicGamer007 I already figured it out, thanks anyways.