Hook failed with error code ENOENT

I can build with cordova but not with ionic
submitted issue: https://github.com/driftyco/ionic/issues/3701
thanks