Installing as administrator ,
Error :-
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Program Files\node
js\node_modules\.staging\ansi-6146f193' -> 'C:\Program Files\nodejs\node_modules
\ionic\node_modules\cordova-lib\node_modules\ansi'
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Program Files\node
js\node_modules\.staging\ansi-6146f193' -> 'C:\Program Files\nodejs\node_modules
\ionic\node_modules\cordova-lib\node_modules\ansi'
Help is appreciated.
Node 6.7 is required, as well as whatever version of NPM comes with it. So I’d try updating first and then try again.
How to check this requirement? I couldn’t find it anywhere
niallr
October 1, 2016, 1:35pm
#4
did you check the ionic 2 changelog for rc0?
do you mean this?
<a name="3.9.2"></a>
## [3.9.2](https://github.com/ionic-team/ionic/compare/v3.9.1...v3.9.2) (2017-11-08)
## Upgrade Instructions
`ionic-angular` 3.9.2 is patch release of `ionic-angular` 3.9.1. To upgrade, follow the instructions [here](https://github.com/ionic-team/ionic/blob/master/CHANGELOG.md#390-2017-11-08) for updating to `ionic-angular` 3.9.0. After completing those steps, update the `ionic-angular` version to 3.9.2.
```
npm install ionic-angular@3.9.2 --save
```
### Bug Fixes
* **action-sheet:** remove ios inertia scroll to fix flicker ([c463b06](https://github.com/ionic-team/ionic/commit/c463b06)), closes [#13262](https://github.com/ionic-team/ionic/issues/13262)
<a name="3.9.1"></a>
## [3.9.1](https://github.com/ionic-team/ionic/compare/v3.9.0...v3.9.1) (2017-11-08)
## Upgrade Instructions
This file has been truncated. show original
I couldn’t find anywhere it says it require node 6.7…
Yeah I don’t believe it officially says it anywhere, but it seems everybody has had to update in order to install RC0
i was having the same issue. i have node v4.6 better not go with v6.7
if you have installed the beta cli you should run npm uninstall -g ionic first. You need version 2.1.0 for this release. Check your cli version by running ionic -v in the command line.
after that give
npm install -g ionic
you can also check other changelogs here
<a name="3.9.2"></a>
## [3.9.2](https://github.com/ionic-team/ionic/compare/v3.9.1...v3.9.2) (2017-11-08)
## Upgrade Instructions
`ionic-angular` 3.9.2 is patch release of `ionic-angular` 3.9.1. To upgrade, follow the instructions [here](https://github.com/ionic-team/ionic/blob/master/CHANGELOG.md#390-2017-11-08) for updating to `ionic-angular` 3.9.0. After completing those steps, update the `ionic-angular` version to 3.9.2.
```
npm install ionic-angular@3.9.2 --save
```
### Bug Fixes
* **action-sheet:** remove ios inertia scroll to fix flicker ([c463b06](https://github.com/ionic-team/ionic/commit/c463b06)), closes [#13262](https://github.com/ionic-team/ionic/issues/13262)
<a name="3.9.1"></a>
## [3.9.1](https://github.com/ionic-team/ionic/compare/v3.9.0...v3.9.1) (2017-11-08)
## Upgrade Instructions
This file has been truncated. show original
my node version is 5.x
doing npm uninstall -g ionic
first and then npm install -g ionic
worked for me. so it works on node 5.x too.
Edit :
This solved my problem. but i wonder if i should mark this as a solution.