ionic-team / ionic-team/ionic-cli

Incompatible option for yarn v2

オープン
#4,483 コメント 8 件 リアクション 4 件 担当者 0 名 GitHub で見る
triage
主要言語
TypeScript
スター
2k
フォーク
682
PR マージ指標
30日以内にマージされた PR はありません

説明

**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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。