Currently, I'm attempting to execute node-sass using npm.
Displayed below is my package.json:
{
"name": "my-project",
"version": "1.0.0",
"description": "Website",
"main": "index.js",
"scripts": {
"sass": "node-sass -w scss/ -o dist/css/ --recursive"
},
"author": "Me",
"license": "ISC",
"dependencies": {}
}
The installation process goes smoothly, but upon attempting to run the command "npm run sass", an error message appears:
"An output directory must be specified when compiling a directory"
My current folder structure: package.json package-lock.json scss (directory) dist (directory) > css (directory) node_modules (directory)
In the past, this script worked flawlessly on other projects, however, it's currently not functioning as expected. What could I possibly be doing wrong?