3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

node.js 5.0.0でionic(cordova)が動かない件

Posted at

node.jsを5.0.0にアップデートしてからionic buildionic runなどが反応しなくなった。
必ずnode.js5.0.0になったら動かないのかはわからないが、他にも同じ現象が起きる人がいるらしい。

ちなみにionic info

Cordova CLI: 5.3.3
Gulp version:  CLI version 3.9.0
Gulp local:  
Ionic Version: 1.1.0
Ionic CLI Version: 1.7.7
Ionic App Lib Version: 0.6.3
ios-deploy version: 1.8.2 
ios-sim version: 5.0.3 
OS: Mac OS X El Capitan
Node Version: v5.0.0
Xcode version: Xcode 7.1 Build version 7B91b 

node.jsを4.2.2にダウングレードしたら解決した。

ダウングレードはnvm(https://github.com/creationix/nvm) を使った。

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.29.0/install.sh
$ nvm install 4

ダウングレード後のionic info

Cordova CLI: 5.3.3
Gulp version:  CLI version 3.9.0
Gulp local:   Local version 3.9.0
Ionic Version: 1.1.0
Ionic CLI Version: 1.7.7
Ionic App Lib Version: 0.6.3
ios-deploy version: 1.8.2 
ios-sim version: 5.0.3 
OS: Mac OS X El Capitan
Node Version: v4.2.2
Xcode version: Xcode 7.1 Build version 7B91b
3
4
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?