Docs reference tutorial template that doesn't exist


#1

In the docs, the tutorial says to start a project using the “tutorial” template:

$ ionic start MyIonicProject tutorial

Trying to do so gives an error:

$ ionic start myApp tutorial

Downloading: https://github.com/driftyco/ionic-app-base/archive/master.zip
Downloading: https://github.com/driftyco/ionic-starter-tutorial/archive/master.zip
Not found: https://github.com/driftyco/ionic-starter-tutorial/archive/master.zip (404)
Please verify the url and try again.
Please verify you are using a valid URL or a valid ionic starter.
View available starter templates: `ionic start --list` 
More info available at: 
http://ionicframework.com/getting-started/
https://github.com/driftyco/ionic-cli

There appears to be no such template:

$ ionic start --list

Downloading Starter Templates - http://code.ionicframework.com/content/starter-templates.json
Ionic Starter templates

blank ................ A blank starter project for Ionic 
complex-list ......... A complex list starter template
maps ................. An Ionic starter project using Google Maps and a side menu
salesforce ........... A starter project for Ionic and Salesforce
sidemenu ............. A starting project for Ionic using a side menu with navigation in the content area
tabs ................. A starting project for Ionic using a simple tabbed interface

#2

Upgrade your global CLI to 2.2.3, and then the commands in the docs will work. On older CLI, you would need the --v2 flag.


#3

Great thanks, that solved it. FYI, tutorial doesn’t show under the template list though:

$ ionic start --list

Downloading Starter Templates - http://code.ionicframework.com/content/starter-templates.json
Ionic Starter templates

blank ................ A blank starter project for Ionic
complex-list ......... A complex list starter template 
maps ................. An Ionic starter project using Google Maps and a side menu
salesforce ........... A starter project for Ionic and Salesforce
sidemenu ............. A starting project for Ionic using a side menu with navigation in the content area
tabs ................. A starting project for Ionic using a simple tabbed interface

With this setup:

$ ionic info

Your system information:

Cordova CLI: 6.5.0 
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
ios-deploy version: 1.9.1 
ios-sim version: 5.0.13 
OS: OS X El Capitan
Node Version: v6.10.0
Xcode version: Xcode 8.2.1 Build version 8C1002