I've been attempting to execute this command to validate all of the .scss files (and even tried with .css files) and I keep encountering this error.
$ stylelint "apps/**/*.scss"
It worked once before but not anymore, even after restarting my computer.
Stylelint is installed globally on my system and I have the latest version:
Error: Cannot find module 'stylelint'
Require stack:
- D:\DEV\Repos\Business\mobile-app-with-angular\node_modules\stylelint-order\index.js
- C:\Users\koalt\AppData\Roaming\npm\node_modules\stylelint\lib\augmentConfig.js
- C:\Users\koalt\AppData\Roaming\npm\node_modules\stylelint\lib\createStylelint.js
- C:\Users\koalt\AppData\Roaming\npm\node_modules\stylelint\lib\printConfig.js
- C:\Users\koalt\AppData\Roaming\npm\node_modules\stylelint\lib\cli.js
- C:\Users\koalt\AppData\Roaming\npm\node_modules\stylelint\bin\stylelint.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:981:15)
at Function.Module._load (internal/modules/cjs/loader.js:863:27)
at Module.require (internal/modules/cjs/loader.js:1043:19)
at require (C:\Users\koalt\AppData\Roaming\npm\node_modules\stylelint\node_modules\v8-compile-cache\v8-compile-cache.js:161:20)
at Object.<anonymous> (D:\DEV\Repos\Business\panama-mobile-app\node_modules\stylelint-order\index.js:1:88)
at Module._compile (C:\Users\koalt\AppData\Roaming\npm\node_modules\stylelint\node_modules\v8-compile-cache\v8-compile-cache.js:194:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1177:10)
at Module.load (internal/modules/cjs/loader.js:1001:32)
at Function.Module._load (internal/modules/cjs/loader.js:900:14)
at Module.require (internal/modules/cjs/loader.js:1043:19)
From package.json:
"stylelint": "13.6.0",
"stylelint-config-standard": "20.0.0"
Thank you for any help you can provide.