When executing the command npm install npm -g the terminal returns me the following error, has anyone ever gone through something similar in Ionic 3? I did some research but found no solution.
npm ERR! path C:\Users\Mike\AppData\Roaming\npm\cordova
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall open
npm ERR! Error: EPERM: operation not permitted, open
'C:\Users\Mike\AppData\Roaming\npm\cordova'
npm ERR! { Error: EPERM: operation not permitted, open
'C:\Users\Mike\AppData\Roaming\npm\cordova'
npm ERR! cause:
npm ERR! { Error: EPERM: operation not permitted, open
'C:\Users\Mike\AppData\Roaming\npm\cordova'
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'open',
npm ERR! path: 'C:\Users\Mike\AppData\Roaming\npm\cordova' },
npm ERR! stack: 'Error: EPERM: operation not permitted, open
\'C:\Users\Mike\AppData\Roaming\npm\cordova\'',
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'open',
npm ERR! path: 'C:\Users\Mike\AppData\Roaming\npm\cordova' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or
antivirus),
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 (though this is not
recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Mike\AppData\Roaming\npm-cache\_logs18-05-
12T16_14_12_212Z-debug.log