Everything was working fine and then all of the sudden a bunch of error appeared on the terminal, saying that I needed to install node-sass module. So that's what I did to fix all those errors, but now I get this error:
SassError: Undefined variable: "$text-weight".
I don't get why react is even detecting my sass files, I'm only importing the compiled vanilla css and sass is also compiled successfully with no errors.
_variables.scss is imported at the top using @import syntax.
index.scss file:
@import './variables';
body {
margin: 0;
}
:root {
font-family: acumin-pro, sans-serif;
font-style: normal;
box-sizing: border-box;
}
.App {
display: grid;
grid-template-columns: 0.1fr 10fr 0.1fr;
min-height: 100vh;
}
@import './navbar';
@import './carousel';
@import './user';