AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] Intl version mismatch

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

説明

### Bug Description

It seems Appflowy_editor needs on both the flutter_localizations package and the intl packages, and the recommended use of the flutter_localizations package is to use it from the sdk:
```
flutter_localizations:
sdk: flutter
```
Now, the flutter_localizations package from the flutter stable channel version 3.32.0 uses version 0.20.2 of intl while appflowy_editor ^5.2.0 depend on 0.19.0 and it leads to this:
```
Note: intl is pinned to version 0.20.2 by flutter_localizations from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.

Because every version of flutter_localizations from sdk depends on intl 0.20.2 and appflowy_editor 5.2.0 depends on intl ^0.19.0, flutter_localizations from sdk is incompatible with appflowy_editor 5.2.0.
And because no versions of appflowy_editor match >5.2.0 <6.0.0, flutter_localizations from sdk is incompatible with appflowy_editor ^5.2.0.
So, because aether depends on both appflowy_editor ^5.2.0 and flutter_localizations from sdk, version solving failed.

You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on appflowy_editor: flutter pub add appflowy_editor:^0.1.12
Failed to update packages.
```

### How to Reproduce

Install or Upgrade you flutter to version 3.32.0 (flutter upgrade) and run flutter pub get

### Expected Behavior

Dependencies should install with 0 issues

### Operating System

Arch Linux

### AppFlowy Editor Version(s)

5.2.0

### Screenshots

_No response_

### Additional Context

_No response_

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

このリポジトリのコントリビューションガイドは索引されていません

評価

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

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

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