this is the first time i am going to use sass. I created a new folder on desktop and opened it on vscode. I entered
npm init --yes
my package.json file appeared in my folder then i entered
npm install node-sass
and i got some errors. I am stuck with this error for a week and any of solutions in this platform didn't work for me. Here is the errors i got:
PS C:\Users\RUKİYE\OneDrive\Masaüstü\dene> npm install node-sass
npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path C:\Users\RUKİYE\AppData\Local\npm-cache
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, mkdir 'C:\Users\RUKİYE\AppData\Local\npm-cache'
npm ERR! [Error: EPERM: operation not permitted, mkdir 'C:\Users\RUKİYE\AppData\Local\npm-cache'] {
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'mkdir',
npm ERR! path: 'C:\\Users\\RUKİYE\\AppData\\Local\\npm-cache'
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.
npm ERR! Log files were not written due to an error writing to the directory: C:\Users\RUKİYE\AppData\Local\npm-cache\_logs
npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal