npm run compile:sass isn't working. My Node.js version is (v18.17.0). Is the version not compatible
Here is the error file when I try to npm run the script:
[email protected] compile:sass node-sass sass/main.scss css/style.css'CSS\Advanced' is not recognized as an internal or external command, operable program or batch file. node:internal/modules/cjs/loader:1080 throw err; ^ Error: Cannot find module 'E:\ahtytbo\ahtytbo eidsov\udemy\node-sass\bin\node-sass' at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) at Module._load (node:internal/modules/cjs/loader:922:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) at node:internal/main/run_main_module:23:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v18.17.0
1 Reply