Buenas estoy intentando crear un nuevo proyecto siguiendo el manual de Angular usando Angular-Cli. Tengo instalado Node 6.10.0 y npm 3.10.10 en Windows 10 primero instalé angular cli con el comando:
npm install -g @angular/cli que se completo sin errores
pero al ejecutar el comando para crear el proyecto(ng new my-app) recibo el siguiente error:
Installing packages for tooling via npm.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "--quiet" "install"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! path c:\Users\usuario\Documents\workspace\my-app\node_modules\.staging\rx-59741874
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall rename
npm ERR! Error: EPERM: operation not permitted, rename 'c:\Users\usuario\Documents\workspace\my-app\node_modules\.staging\rx-59741874' -> 'c:\Users\usuario\Documents\workspace\my-app\node_modules\rx'
npm ERR! at destStatted (C:\Program Files (x86)\nodejs\node_modules\npm\lib\install\action\finalize.js:25:7)
npm ERR! at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
npm ERR! at FSReqWrap.oncomplete (fs.js:123:15)
npm ERR!
npm ERR! Error: EPERM: operation not permitted, rename 'c:\Users\usuario\Documents\workspace\my-app\node_modules\.staging\rx-59741874' -> 'c:\Users\usuario\Documents\workspace\my-app\node_modules\rx'
npm ERR! at Error (native)
npm ERR! { Error: EPERM: operation not permitted, rename 'c:\Users\usuario\Documents\workspace\my-app\node_modules\.staging\rx-59741874' -> 'c:\Users\usuario\Documents\workspace\my-app\node_modules\rx'
npm ERR! at destStatted (C:\Program Files (x86)\nodejs\node_modules\npm\lib\install\action\finalize.js:25:7)
npm ERR! at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
npm ERR! at FSReqWrap.oncomplete (fs.js:123:15)
npm ERR!
npm ERR! Error: EPERM: operation not permitted, rename 'c:\Users\usuario\Documents\workspace\my-app\node_modules\.staging\rx-59741874' -> 'c:\Users\usuario\Documents\workspace\my-app\node_modules\rx'
npm ERR! at Error (native) parent: 'my-app' }
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\usuario\Documents\workspace\my-app\npm-debug.log
Package install failed, see above.
El comando se ha ejecutado en modo administrador, agradeceria mucho si alguien pudiera indicarme que me esta fallando.
@angular/cli: 1.0.0 node 7.8.0 os: win32 x64
la version de npm es 4.2.0