0

Straight to the point, I am trying to learn and play around with Ionic development.

Installed Node.js

and

npm install -g cordova ionic

, seems to install successfully , i can see the version. Now when i run the command ionic start , the folder gets created but after that i am getting a message Downloading and extracting starter after a few seconds it just stops. Then when i cd into the newly created directory i found nothing.

So what i have tried, i uninstalled cleaned and reinstalled node and cordova ionic for around 10 times, searched left and right of google and i am unable to find solution (Maybe i am not searching properly) . I am running Windows 7 sp1 ultimate edition, Turned off firewall ,restarted the system a few times . Nothing i am unable to move from this step, any Ideas, I am adding pictures for the reference. enter image description here

enter image description here

ionic start command with verbose

any help and pointers will be greatly appreciated. What i am doing wrong ??? this is a home system and i am definitely not behind a proxy.

[EDIT] as per the comment i tried and here is the result

enter image description here

EDIT today once again i retried with ionic now i am seeing different error

enter image description here

sansknwoledge
  • 4,209
  • 9
  • 38
  • 61

1 Answers1

0

A successful ionic start should look like below:

enter image description here

Looks like for some reason this command doesn't complete on your machine. Not sure what goes wrong for you, but as an alternative to ionic start, you can try downloading the starter project yourself through github. Just install git, and then type:

git clone https://github.com/ionic-team/ionic-starter-sidemenu.git
Ari
  • 7,251
  • 11
  • 40
  • 70
  • will try and getback – sansknwoledge Dec 11 '17 at 05:52
  • it's downloaded, and i tried to run command npm install but it says no such file or directory package.json, and then nothing happens. is there any more steps involved,? – sansknwoledge Dec 11 '17 at 08:14
  • Is there any other files there? If you don't see any files in that folder, that means the `git clone` command was not successful. In that case your issue would not be an Ionic issue, but rather a `git` issue. I would make sure that I can clone any repo using git command first. – Ari Dec 11 '17 at 20:07
  • ,first i thank you very much for your sustained help. now git clone did downloaded files with folders like css , image, js , templates and index.html, manifest.json, readme.md finally service-worker.js. – sansknwoledge Dec 12 '17 at 05:13