Error: EPERM: operation not permitted while installing ionic and cordova
<p>I have spent the last few hours trying to install ionic and cordova but I keep getting the error below. I don't know what's wrong or how to fix it, i tried clearing the cache and setting the environmental variables to the correct path. Has anyone faced this issue before ?</p>

<pre><code>npm ERR! Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules\.staging'
npm ERR!     at Error (native)
npm ERR!  { [Error: EPERM: operation not permitted, mkdir 'C:\Program Files\nodejs\node_modules\.staging']
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: 'C:\\Program Files\\nodejs\\node_modules\\.staging' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\noor\eggly-ionic\npm-debug.log
</code></pre>