Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: unable to run build_runner - The getter 'imports' isn't defined for the class 'PrefixElement'

mastergypab414b77f6cd
diff --git a/frontend/app_flowy/pubspec.yaml b/frontend/app_flowy/pubspec.yaml
index 8dbc3b4c70..5f4ff9c9b8 100644
--- a/frontend/app_flowy/pubspec.yaml
+++ b/frontend/app_flowy/pubspec.yaml
@@ -85,6 +85,9 @@ dev_dependencies:
freezed:
bloc_test: ^9.0.2
+dependency_overrides:
+ analyzer: ">=4.2.0 <5.0.0"
+
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint set provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your