Łukasz Niemkiewicz
Łukasz Niemkiewicz

Reputation: 241

Ionic Capacitor - missing build command

I have two machines. Each of them has same Ionic project from same git repo. the first one has missing capacitor build option (see the pictures)

Machines have different ionic version (6.12.0 vs 5.4.16) How can I add 'build' functionality to capacitor in computer 1?

Computer 1: enter image description here

Computer 2: enter image description here

Upvotes: 0

Views: 1122

Answers (1)

Tomas Panik
Tomas Panik

Reputation: 4609

ionic capacitor build was introduced in @ionic/cli version 6.6.0 (see their CHANGELOG)

so the solution for Computer 1 is to upgrade @ionic/cli at least to that version.

Upvotes: 2

Related Questions