npm install admin privileges issues

Home / Uncategorized / npm install admin privileges issues

I am trying to install some npm packages, I am getting below error and my system is not having admin privileges. Please let me know how to fix this issue with out having system admin rights in my system.

C:Usersgavvarugitgurumy-app>npm install eslint-plugin-import eslint-plugin-flowtype eslint-plugin-jsx-a11y eslint-plugin -react npm ERR! path C:Usersgavvarugitgurumy-appnode_modulesfseventsnode_modulesgetpassnode_modules npm ERR! code EPERM npm ERR! errno -4048 npm ERR! syscall lstat npm ERR! Error: EPERM: operation not permitted, lstat ‘C:Usersgavvarugitgurumy-appnode_modulesfseventsnode_modulesge tpassnode_modules’ npm ERR! at Error (native) npm ERR! { [Error: EPERM: operation not permitted, lstat ‘C:Usersgavvarugitgurumy-appnode_modulesfseventsnode_module sgetpassnode_modules’] npm ERR! stack: ‘Error: EPERM: operation not permitted, lstat ‘C:Usersgavvarugitgurumy-appnode_modulesfseven tsnode_modulesgetpassnode_modules’n at Error (native)’, npm ERR! errno: -4048, npm ERR! code: ‘EPERM’, npm ERR! syscall: ‘lstat’, npm ERR! path: ‘C:Usersgavvarugitgurumy-appnode_modulesfseventsnode_modulesgetpassnode_modules’ } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR!


Try this command to solve it:npm cache clean
Read more

Leave a Reply

Your email address will not be published. Required fields are marked *