Skip to content

Conversation

@leifwells
Copy link
Contributor

Without this change to the ionic.config.json an error will occur when you attempt to use the Ionic CLI generate command. For instance:

leifwells$ ionic g page page3

**Generators are only available for Ionic 2 projects (CLI v2.2.2)**

Your system information:

Cordova CLI: 6.4.0 
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.0 
ios-sim version: 5.0.13 
OS: OS X El Capitan
Node Version: v6.9.1
Xcode version: Xcode 7.3.1 Build version 7D1014

The "v2" and "typescript" nodes in the ionic.config.json file are critical to CLI features.

ALSO: Changed the name node to "name": "ionic-unit-testing-example",

@leifwells leifwells merged commit 03b9885 into ionic-team:master Apr 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant