Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3beta7 - Unable to find command: cordova build ios. #2105

Closed
zoinkydoink opened this issue Apr 16, 2017 · 3 comments
Closed

v3beta7 - Unable to find command: cordova build ios. #2105

zoinkydoink opened this issue Apr 16, 2017 · 3 comments

Comments

@zoinkydoink
Copy link

zoinkydoink commented Apr 16, 2017

v3 beta7 testing

Please ensure that you are on the latest version of the CLI.
npm view ionic@latest version

This command returns 2.2.2 but my ionic info returns 3.0.0beta7, what is the diff between the two?

What version of the CLI are you using? Output of ionic --version

3.0.0-beta7

Short description of the problem:

I copied a folder from my windows machine to Mac (the windows one was using beta5) and after installing latest version of everything on my Mac by doing sudo nom install -g ionic@latest When I run command ionic cordova build ios` I get the unable to find command: cordova build ios

What behavior are you expecting?

For the build to success

Steps to reproduce:
1.run the command ionic cordova build ios
2. error message
3.

Post the output of ionic info below please
Your system information:

Cordova CLI: 6.5.0 
Ionic Framework Version: 3.0.1
Ionic CLI Version: 3.0.0-beta7
ios-deploy version: Not installed
ios-sim version: 5.0.13 
OS: macOS Sierra
Node Version: v7.9.0
Xcode version: Xcode 8.2.1 Build version 8C1002
@qiluo
Copy link

qiluo commented Apr 17, 2017

same error, already updated to beta7 and re-installed related plugins

@imhoffd
Copy link
Contributor

imhoffd commented Apr 18, 2017

@zoinkydoink @qiluo Our blog post (which you likely used to install the CLI beta) is outdated. I'll have it updated tomorrow.

The correct plugins are listed in the README. This section may solve your issue: https://github.com/driftyco/ionic-cli/blob/v3/README.md#upgrading-from-a-previous-beta-release-to-beta7

@imhoffd imhoffd closed this as completed Apr 18, 2017
@zoinkydoink
Copy link
Author

npm install --save-dev @ionic/cli-plugin-ionic-angular@beta @ionic/cli-plugin-cordova@beta this fixed it for me

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

No branches or pull requests

3 participants