I installed sass with npm $npm install sass then I made a script in JSON but it didn't run kept showing an error 'Cannot find module'
It started working when I installed sass as devDependencies
$npm i --save-dev sass
and don't forget to give the
--watch
flag on the package.json
"scripts": {
"sass": "sass --watch scss:assets/css"
},