Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ionic create new application getting stuck

I am creating new application in Ionic framework with command

ionic start firstapp blank

when it reaches to following step

Would you like to integrate your new app with Cordova to target native iOS and Android?

It asks for the Cordova integration. I am making choice Yes but after that it is getting stuck and not moving ahead. I tried clearing cache but it has not resolved my issue. Please let me know if someone has faced this issue.

Ionic version and create project step screenshot

like image 881
Pranit Avatar asked Jul 02 '18 20:07

Pranit


3 Answers

I'm having the exact same issue.

As soon as you create a new app it will ask you if you want to target Android and IOS, Selecting y/n does not work and typing Yes or No does not work either.

I've cleared the Cache using npm cache clean --force and I'm still getting stuck here.

After uninstalling Node.js, npm, Ionic and Cordova I reinstalled everything again as the official documentation shows, but my terminal is still freezing. I've also tried Different terminals such as Windows power shell, CMD and Visual Studio Code.

https://ionicframework.com/docs/intro/installation/

I'm running Windows 10 with build 1709, Not sure if the issue could be related to this?

Ionic Version - 3.20.0 Cordova Version - 8.0.0 Node Version - 10.5.0

EDIT: - I've resolved the issue.

I uninstalled my Node.Js Version 10.5.0. I then Installed Node.Js LTS Which is version 8.11.3 and it worked great.

Here's the link:

https://nodejs.org/dist/v8.11.3/node-v8.11.3-x64.msi

Hope this helps!

like image 84
Alexander Slavchov Avatar answered Nov 09 '22 23:11

Alexander Slavchov


Late to the party, but another solution I found was to run with the --no-interactive

like image 40
Blueberry Avatar answered Nov 09 '22 23:11

Blueberry


Another solution I found to start a blank IONIC project.

Ionic start FirstApp blank --cordova

like image 21
Geoffrey Duncan Opiyo Avatar answered Nov 10 '22 00:11

Geoffrey Duncan Opiyo