kickstart-mantrajs-webpack icon indicating copy to clipboard operation
kickstart-mantrajs-webpack copied to clipboard

Won't install with Windows

Open philohelp opened this issue 8 years ago • 2 comments

I got the following err. Tried to run npm as admin but the err is still there. I know I know Ill get a Mac when I have the money.

npm ERR! Error: EPERM: operation not permitted, rename 'C:\Users\thpoi_000\AppDa
ta\Roaming\npm-cache\left-pad\0.0.3\package\package.json.9c8beeef26282c05de29b32
36dcf5e30' -> 'C:\Users\thpoi_000\AppData\Roaming\npm-cache\left-pad\0.0.3\packa
ge\package.json'
npm ERR!     at Error (native)
npm ERR!  { [Error: EPERM: operation not permitted, rename 'C:\Users\thpoi_000\A
ppData\Roaming\npm-cache\left-pad\0.0.3\package\package.json.9c8beeef26282c05de2
9b3236dcf5e30' -> 'C:\Users\thpoi_000\AppData\Roaming\npm-cache\left-pad\0.0.3\p
ackage\package.json']
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'rename',
npm ERR!   path: 'C:\\Users\\thpoi_000\\AppData\\Roaming\\npm-cache\\left-pad\\0
.0.3\\package\\package.json.9c8beeef26282c05de29b3236dcf5e30',
npm ERR!   dest: 'C:\\Users\\thpoi_000\\AppData\\Roaming\\npm-cache\\left-pad\\0
.0.3\\package\\package.json',
npm ERR!   parent: 'line-numbers' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

philohelp avatar Mar 10 '16 17:03 philohelp

Please report this at webpack:webpack as it is most probably error on their side.

tomitrescak avatar Mar 10 '16 21:03 tomitrescak

Ok you have to npm cache clean prior to install - works for me now. If ever another window user steps by... Also make sure the antivirus is disabled. NPM 4.4 seems to solve it too. https://github.com/npm/npm/issues/9696

philohelp avatar Mar 11 '16 23:03 philohelp