mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[GH-ISSUE #413] [Bug] Can't build the app #190
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#190
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 @Jam1zhu on GitHub (Mar 10, 2022).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/413
Initialize the installation according to the document.
When executing
cargo make --profile development-windows-x86 flowy-sdk-dev,the following exception occurs
Desktop (please complete the following information):
OS: Windows 10
Version 0.0.3
What is the possible reason for this?
@appflowy commented on GitHub (Mar 29, 2022):
@Jam1zhu It seems like protoc-gen-dart wasn't installed. Try run this command:
which protoc-gen-dartIt should output the path of your protoc-gen-dart. e.g. .xx/pub-cache/bin/protoc-gen-dart
@appflowy commented on GitHub (Apr 18, 2022):
@Jam1zhu Do you still have that problem building the AppFlowy? Please feel free to DM me on Discord directly.
@AlexisIndustries commented on GitHub (May 19, 2022):
Hello, I have the same error while building production version of AppFlowy.
protoc-gen-dartis installed viadart pub, but error is still occuring. You say, thatIt should output the path of your protoc-gen-dart. e.g. .xx/pub-cache/bin/protoc-gen-dart, so what is '.xx' folder and where it located?@JaylenCoding commented on GitHub (Jun 1, 2022):
Hey @Jam1zhu @AlexisIndustries . I've got this issue as well, and fixed it by running
pub global activate protoc_plugin.To troubleshoot, you guys can try to print the command it triggered in
mod.rs line:102(as the error log describes), then run it in your shell manually to find the root cause. Here's my approach for the issues encountered:command not found: pubexport your pub path or just alias it
alias pub='flutter pub'/alias pub='dart pub'Can't load Kernel binary: Invalid kernel binary format version./No active package protoc_plugin.try the following commands
pub global activate protoc_pluginAlso, rm flutter_tools.stamp in your
FLUTTER_ROOT/bin/cacheor reinstall your flutter may be helpful in some weird cases@appflowy commented on GitHub (Jun 1, 2022):
It seems the problem is the terminal (launch by VS Code) can't find the protoc_plugin in $PATH, even though you install it. Please follow these steps to fix the issue.
Make sure $HOME/.pub-cache/bin is shown in your $PATH. It should appear in .bashrc ./zshrc.
FYI, From my experience, the VS Code uses bash as default. https://github.com/microsoft/vscode/issues/69954
@aarhusgregersen commented on GitHub (Aug 3, 2022):
This happened to me as well.
The only thing I can add is that I started with a clean machine that didn't previously have Rust, Flutter or Dart installed.
Assuming you are correct in that VS Code uses bash (instead of zsh which is configured default in new macbooks), is the solution simply to add the export to
.bashrc?I was able to get this working after making sure I had this in path by adding it to
$HOME/.zshrcwhich is my default. Upon ensuring that it was indeed in $PATH (echo $PATH) and restarting VS Code I was able to move forward.@debojyoti452 commented on GitHub (Mar 13, 2023):
dart pub global activate protoc_pluginrun this command it will fix the issues