ionic-team / ionic-team/ionic-cli

bug: ionic-cli installs capacitor regardless

Abierto
#4,606 0 comentarios 1 reacción 0 asignados Ver en GitHub
triage
Lenguaje dominante
TypeScript
Estrellas
2k
Forks
682
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

This is probably the same bug as reported in ionic-team/ionic-framework#22366 but the bug reporter might not have explained in a good way what happens.

# Bug Report

**Ionic version:**
```
$ ionic -v
6.12.1
```

**Current behavior:**
```
$ ionic start frontend sidemenu --type vue
[INFO] Existing git project found (/repo). Git operations are disabled.
✔ Preparing directory ./frontend in 11.56ms
✔ Downloading and extracting sidemenu starter in 870.79ms
> ionic integrations enable capacitor --quiet -- frontend io.ionic.starter
> npm i --save -E @capacitor/core
```

**Expected behavior:**
No mention of
```
> ionic integrations enable capacitor --quiet -- frontend io.ionic.starter
> npm i --save -E @capacitor/core
```

**Other information:**
The reason for our distress is that capacitor is marked as `(experimental)` in the CLI help output. There is also no way of explicitly disable it. It can be enabled with `--capacitor` which of course should mean that the default (if omitted) should be disabled. But that is not what is being observed, and with no way of forcing the desired result.

**Ionic info:**
```
$ ionic info
[WARN] You are not in an Ionic project directory. Project context may be missing.

Ionic:
Ionic CLI : 6.12.1

Utility:
cordova-res : not installed
native-run : not installed

System:
NodeJS : v12.19.0
npm : 6.14.8
OS : Linux 4.19
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.