node.js - npm install admin privileges issues -


i trying install npm packages, getting below error , system not having admin privileges. please let me know how fix issue out having system admin rights in system.

c:\users\gavvaru\git\guru\my-app>npm install eslint-plugin-import eslint-plugin-flowtype eslint-plugin-jsx-a11y eslint-plugin -react npm err! path c:\users\gavvaru\git\guru\my-app\node_modules\fsevents\node_modules\getpass\node_modules npm err! code eperm npm err! errno -4048 npm err! syscall lstat npm err! error: eperm: operation not permitted, lstat 'c:\users\gavvaru\git\guru\my-app\node_modules\fsevents\node_modules\ge tpass\node_modules' npm err! @ error (native) npm err! { [error: eperm: operation not permitted, lstat 'c:\users\gavvaru\git\guru\my-app\node_modules\fsevents\node_module s\getpass\node_modules'] npm err! stack: 'error: eperm: operation not permitted, lstat \'c:\users\gavvaru\git\guru\my-app\node_modules\fseven ts\node_modules\getpass\node_modules\'\n @ error (native)', npm err! errno: -4048, npm err! code: 'eperm', npm err! syscall: 'lstat', npm err! path: 'c:\users\gavvaru\git\guru\my-app\node_modules\fsevents\node_modules\getpass\node_modules' } npm err! npm err! please try running command again root/administrator. npm err! complete log of run can found in: npm err!
c:\users\gavvaru\appdata\roaming\npm-cache_logs\2017-08-15t07_54_34_950z-debug.log

thanks..

try command solve it:

npm cache clean 

Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -