Ionic 2 RC4 Install Issue


#1

Has anyone else had this issue or know what it means? I have the latest Node installed.

 123217 verbose stack Error: ENOENT: no such file or directory, rename 'C:\Users\msas\AppData\Roaming\npm\node_modules\.staging\ansi-189abfb8' -> 'C:\Users\msas\AppData\Roaming\npm\node_modules\ionic\node_modules\cordova-lib\node_modules\ansi'
123217 verbose stack     at destStatted (C:\Program Files\nodejs\node_modules\npm\lib\install\action\finalize.js:25:7)
123217 verbose stack     at FSReqWrap.oncomplete (fs.js:123:15)
123217 verbose stack
123217 verbose stack Error: ENOENT: no such file or directory, rename 'C:\Users\msas\AppData\Roaming\npm\node_modules\.staging\ansi-189abfb8' -> 'C:\Users\msas\AppData\Roaming\npm\node_modules\ionic\node_modules\cordova-lib\node_modules\ansi'
123217 verbose stack     at Error (native)
123218 verbose cwd C:\WINDOWS\system32
123219 error Windows_NT 10.0.14393
123220 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "cordova" "ionic"
123221 error node v6.9.1
123222 error npm  v3.10.8
123223 error path C:\Users\msas\AppData\Roaming\npm\node_modules\.staging\ansi-189abfb8
123224 error code ENOENT
123225 error errno -4058
123226 error syscall rename
123227 error enoent ENOENT: no such file or directory, rename 'C:\Users\msas\AppData\Roaming\npm\node_modules\.staging\ansi-189abfb8' -> 'C:\Users\msas\AppData\Roaming\npm\node_modules\ionic\node_modules\cordova-lib\node_modules\ansi'
123228 error enoent ENOENT: no such file or directory, rename 'C:\Users\msas\AppData\Roaming\npm\node_modules\.staging\ansi-189abfb8' -> 'C:\Users\msas\AppData\Roaming\npm\node_modules\ionic\node_modules\cordova-lib\node_modules\ansi'
123228 error enoent This is most likely not a problem with npm itself
123228 error enoent and is related to npm not being able to find a file.
123229 verbose exit [ -4058, true ]

#2

What version of node are you using?


#3

Known issue. Completely uninstall ionic and cordova, then reinstall them.


#4

worked!! Thank you !