I have an Ionic 1 project and the latest cli (3.12.0). First I've tried "ionic cordova run ios" - then it stucked and nothing else happened. Then I've tried to remove ios and android platform and add again, but none of the cli-commands work (without error, only stuck).
Only "ionic serve" work.
I've deleted the following folders/files:
- hooks
- node_modules
- platforms
- plugins
- package.lock
- yarn.lock
then i ran the following commands:
- yarn (install) -> worked
- ionic cordova platform add ios -> only the platforms-folder were created but nothing else
here is my "ionic info"
cli packages: (/Users/.../node_modules)
@ionic/cli-utils : 1.12.0
ionic (Ionic CLI) : 3.12.0
global packages:
cordova (Cordova CLI) : 7.0.1
Gulp CLI : CLI version 3.9.1 Local version 3.9.1
local packages:
Cordova Platforms : none
Ionic Framework : ionic1 1.3.1
System:
ios-deploy : 1.9.2
Node : v8.4.0
npm : 5.4.2
OS : macOS High Sierra
Xcode : Xcode 9.0 Build version 9A235
Misc:
backend : pro