ionic-team / ionic-team/ionic-cli

Incompatible option for yarn v2

Aberta
#4,483 8 comentários 4 reações 0 responsáveis Ver no GitHub
triage
Linguagem predominante
TypeScript
Estrelas
2k
Forks
682
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

**Description:**
`ionic start` command broken with Yarn v2 (aka berry).

**Steps to Reproduce:**
```bash
$ yarn set version berry
$ echo n | ionic start Test blank --type=angular
```
Or even:
```bash
$ yarn set version berry
$ echo n | yarn dlx -p @ionic/cli ionic start Test blank --type=angular
```

**Output:**
```
> yarn install --non-interactive
Unknown Syntax Error: Unsupported option name ("--non-interactive").

$ yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds]
[ERROR] An error occurred while running subprocess yarn.

yarn install --non-interactive exited with exit code 1.

Re-running this command with the --verbose flag may provide more
information.
```

**My `ionic info`:**
```
[WARN] You are not in an Ionic project directory. Project context may be missing.
Ionic:
Ionic CLI : 6.10.1
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v14.5.0
npm : 6.14.5
OS : Linux 5.7
```

**Other Information:**
Migration guide: https://yarnpkg.com/advanced/migration

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.