Error when install setup sass


I need your help. i have any issue when i try to install setup sass.
And i got this error

C:\Users\Aprik\testing>ionic setup sass
npm WARN package.jsonnpm WARN package.json testing@1.0.0 No README data

node-sass@0.9.6 install C:\Users\Aprik\testing\node_modules\gulp-sass\node_mod
node build.js

win32-x64-v8-3.14 exists; testing

26 passing (61ms)

Binary is fine; exiting
npm ERR! Error: EPERM, open 'C:\Users\Aprik\AppData\Roaming\npm-cache\c168bc8d-c
npm ERR! { [Error: EPERM, open ‘C:\Users\Aprik\AppData\Roaming\npm-cache\c168bc
npm ERR! errno: 50,
npm ERR! code: ‘EPERM’,
npm ERR! path: ‘C:\Users\Aprik\AppData\Roaming\npm-cache\c168bc8d-che-an
si-regex-0-2-1-package-tgz.lock’ }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command “C:\Program Files\nodejs\\node.exe” “C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js” "install"
npm ERR! cwd C:\Users\Aprik\testing
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! path C:\Users\Aprik\AppData\Roaming\npm-cache\c168bc8d-che-ansi-regex-0
npm ERR! code EPERM
npm ERR! errno 50
npm ERR! stack Error: EPERM, open 'C:\Users\Aprik\AppData\Roaming\npm-cache\c168
Error running npm install

I am not sure wheres is the issue. I have try use this reference Ionic setup sass - error but still error running npm install.

Have you tried with sudo?

@wedangsusu Did you opened CMD (windows console) as administrator? Right click Run as Administrator?

@wintersmith Windows don’t have sudo :scream:

1 Like

@helsen Thanks. After i am restart my windows and run as administrator its works :smile: