mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[GH-ISSUE #704] [Bug] Error on building from docker image appflowy/appflowy:latest #299
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#299
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @getWatermelon on GitHub (Jul 25, 2022).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/704
Originally assigned to: @appflowy on GitHub.
Describe the bug
Error happens on building docker image appflowy/appflowy:latest using docker-compose file from repository.
To Reproduce
Build the docker image
Terminal output:
Desktop:
@fangykai commented on GitHub (Jul 25, 2022):
Reproduceable on 22.04
@annieappflowy commented on GitHub (Jul 26, 2022):
@MikeWallaceDev did you encounter this issue before?
@MikeWallaceDev commented on GitHub (Jul 26, 2022):
No, I haven't. But I can look into it if you want.
@MoutonSanglant commented on GitHub (Jul 26, 2022):
Reproduceable on Ubuntu 20.04.2 LTS
@vincentdchan commented on GitHub (Jul 27, 2022):
Could you apply this patch and try again?
@MoutonSanglant commented on GitHub (Jul 27, 2022):
Just tried this morning and the error remains the same
The patched
DockerfileOutput
@LilMonk commented on GitHub (Jul 27, 2022):
I'm also having the same issue. I'm using Pop!_OS 22.04 LTS
@airdogvan commented on GitHub (Jan 30, 2023):
Same issue on ubuntu 22.04 AMD
Sorry not sure why this is all BOLD...
appflowy
And also tried on Garuda with similar results
1628.9 Building Linux application...
0 1663.3 ERROR: packages/appflowy_editor/lib/src/service/input_service.dart:60:7: Error: The non-abstract class '_AppFlowyInputState' is missing implementations for these members:
0 1663.3 ERROR: - TextInputClient.didChangeInputControl
0 1663.3 ERROR: - TextInputClient.performSelector
0 1663.3 ERROR: Try to either
0 1663.3 ERROR: - provide an implementation,
0 1663.3 ERROR: - inherit an implementation from a superclass or mixin,
0 1663.3 ERROR: - mark the class as abstract, or
0 1663.3 ERROR: - provide a 'noSuchMethod' implementation.
0 1663.3 ERROR: class _AppFlowyInputState extends State
0 1663.3 ERROR: ^^^^^^^^^^^^^^^^^^^
0 1663.3 ERROR: ../../../.local/flutter/packages/flutter/lib/src/services/text_input.dart:1163:8: Context: 'TextInputClient.didChangeInputControl' is defined here.
0 1663.3 ERROR: void didChangeInputControl(TextInputControl? oldControl, TextInputControl? newControl) {}
0 1663.3 ERROR: ^^^^^^^^^^^^^^^^^^^^^
0 1663.3 ERROR: ../../../.local/flutter/packages/flutter/lib/src/services/text_input.dart:1184:8: Context: 'TextInputClient.performSelector' is defined here.
0 1663.3 ERROR: void performSelector(String selectorName) {}
0 1663.3 ERROR: ^^^^^^^^^^^^^^^
0 1663.3 ERROR: Target kernel_snapshot failed: Exception
0 1663.3 Build process failed
0 1663.6 [cargo-make][1] ERROR - Error while executing command, exit code: 1
0 1663.6 [cargo-make][1] WARN - Build Failed.
0 1663.6 [cargo-make] INFO - Running Task: legacy-migration
0 1663.6 [cargo-make] INFO - Running Task: restore-crate-type
0 1663.6 [cargo-make] ERROR - Task error detected, exit code: 1
0 1663.6 [cargo-make] WARN - Build Failed.
failed to solve: executor failed running [/bin/sh -c git clone https://github.com/AppFlowy-IO/appflowy.git && cd appflowy/frontend && source $HOME/.cargo/env && cargo install --force cargo-make && cargo install --force duckscript_cli && cargo make appflowy-flutter-deps-tools && cargo make -p production-linux-x86_64 appflowy-linux]: exit code: 1
And I can apparently add Fedora to the list:
Downloading linux-x64-release/linux-x64-flutter-gtk tools... 363ms
💪 Building with sound null safety 💪
Building Linux application...
ERROR: packages/appflowy_editor/lib/src/service/input_service.dart:60:7: Error: The non-abstract class '_AppFlowyInputState' is missing implementations for these members:
ERROR: - TextInputClient.didChangeInputControl
ERROR: - TextInputClient.performSelector
ERROR: Try to either
ERROR: - provide an implementation,
ERROR: - inherit an implementation from a superclass or mixin,
ERROR: - mark the class as abstract, or
ERROR: - provide a 'noSuchMethod' implementation.
ERROR: class _AppFlowyInputState extends State
ERROR: ^^^^^^^^^^^^^^^^^^^
ERROR: ../../../.local/flutter/packages/flutter/lib/src/services/text_input.dart:1163:8: Context: 'TextInputClient.didChangeInputControl' is defined here.
ERROR: void didChangeInputControl(TextInputControl? oldControl, TextInputControl? newControl) {}
ERROR: ^^^^^^^^^^^^^^^^^^^^^
ERROR: ../../../.local/flutter/packages/flutter/lib/src/services/text_input.dart:1184:8: Context: 'TextInputClient.performSelector' is defined here.
ERROR: void performSelector(String selectorName) {}
ERROR: ^^^^^^^^^^^^^^^
ERROR: Target kernel_snapshot failed: Exception
Build process failed
[cargo-make][1] ERROR - Error while executing command, exit code: 1
[cargo-make][1] WARN - Build Failed.
[cargo-make] INFO - Running Task: legacy-migration
[cargo-make] INFO - Running Task: restore-crate-type
[cargo-make] ERROR - Task error detected, exit code: 1
[cargo-make] WARN - Build Failed.
The command '/bin/sh -c git clone https://github.com/AppFlowy-IO/appflowy.git && cd appflowy/frontend && source $HOME/.cargo/env && cargo install --force cargo-make && cargo install --force duckscript_cli && cargo make appflowy-flutter-deps-tools && cargo make -p production-linux-x86_64 appflowy-linux' returned a non-zero code: 1
ERROR: Service 'app' failed to build : Build failed
@ghabianis commented on GitHub (Apr 25, 2023):
i'm having the same issue also
@annieappflowy commented on GitHub (Dec 24, 2023):
please try out our latest solution:
https://docs.appflowy.io/docs/guides/appflowy/self-hosting-appflowy