Thorsten Freimann (2) [Avatar] Offline
#1
Dear Ladies and Gentlemen,

when I try the commands in chapter 4 to create the demo - app "ionic start chapter4 https://github.com/ionic-in-action/starter" I get the error message: "Could not determine project type".

Can you help me? What am I doing wrong?

With regards
Thorsten
jeremy.wilken (207) [Avatar] Offline
#2
Have you tried to downgrade to an older version of the Ionic CLI? It will need to support Ionic 1.0, which the book was written against.
Thorsten Freimann (2) [Avatar] Offline
#3
I tried this:

- sudo npm install -g ionic cordova
- ionic start my-project https://github.com/ionic-in-action/starter.git --type=ionic1

And than, I got the error:

[ERROR] Error while loading project config file.
        
        Attempted to load project config ./my-project/ionic.config.json but got 
        error:
        
        FILE_NOT_FOUND
[ERROR] Error while loading new project. Please report this error!
jeremy.wilken (207) [Avatar] Offline
#4
Try to install the v3 of the Ionic CLI specifically. You could even try v2 and see if that helps. Perhaps the latest CLI no longer supports v1.

npm install -g ionic@3.0.0

npm install -g ionic@2.0.0