Everything seems to be in place with the sass folders and files, so what could be the issue?
I have my package.json file set up correctly with the following code:
{
"name": "starter",
"version": "1.0.0",
"description": "starter file",
"main": "index.js",
"scripts": {
"compile:sass": "node-sass sass/main.scss css/style.css -w"
},
"author": "Nez",
"license": "ISC",
"devDependencies": {
"node-sass": "^4.12.0"
}
}
The issue arises when I try to run the script named compile:sass, as it keeps giving the error message: npm ERR! missing script: compile:sass
It's worth mentioning that the sass compiler is already installed as a dev dependency.