I'm trying to compile my sass with node-sass using the following script in my package.json:
"node-sass": "node-sass --output-style compressed 'src/scss/styles.scss' 'dist/css/bundle.min.css'",
My styles.scss:
@import "bourbon";
@import "neat";
body {background: red;}
But when I run npm run node-sass I get the following error:
"formatted": "Error: File to import not found or unreadable: bourbon\n Parent style sheet: /Users/deangibson/Desktop/personal_site/src/scss/styles.scss\n on line 1 of src/scss/styles.scss\n>> @import \"bourbon\";\n ^\n",
"message": "File to import not found or unreadable: bourbon\nParent style sheet: /Users/deangibson/Desktop/personal_site/src/scss/styles.scss",
"column": 1,
"line": 1,
"file": "/Users/deangibson/Desktop/personal_site/src/scss/styles.scss",
"status": 1
}
My project structure looks like this:
Shouldn't node just automatically check in the node_modules when it comes to dependencies? I don't understand what I'm doing wrong here...
