Hi
I used Ionic 2 until 2 months and this WE and I have reinstalled my pc.
I want to install ionic 2 but I have an error.
In first I have installed node 6.7.0
So when I do this command : npm install -g ionic
I have :
npm WARN In ionic@2.1.0 replacing bundled version of semver with semver@4.2.0
npm WARN In ionic@2.1.0 replacing bundled version of ionic-app-lib with ionic-app-lib@2.1.0-beta.1
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\charl\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "ionic"
npm ERR! node v6.7.0
npm ERR! npm v3.10.9
npm ERR! path C:\Users\charl\AppData\Roaming\npm\node_modules\.staging\ansi-f9f40d64
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\charl\AppData\Roaming\npm\node_modules\.staging\ansi-f9f40d64' -> 'C:\Users\charl\AppData\Roaming\npm\node_modules\ionic\node_modules\cordova-lib\node_modules\ansi'
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\charl\AppData\Roaming\npm\node_modules\.staging\ansi-f9f40d64' -> 'C:\Users\charl\AppData\Roaming\npm\node_modules\ionic\node_modules\cordova-lib\node_modules\ansi'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\charl\npm-debug.log
npm ERR! code 1
In addition with : npm info
I have
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\charl\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "info"
npm ERR! node v6.7.0
npm ERR! npm v3.10.9
npm ERR! Invalid package.json
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\charl\npm-debug.log
I thinks I have an issue with node but I don’t know what.