[GH-ISSUE #422] I am new to rust how can I run this app? #195

Closed
opened 2026-03-23 20:33:43 +00:00 by mirror · 5 comments
Owner

Originally created by @aliscie on GitHub (Mar 24, 2022).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/422

Should I run npm run or cargo start to launch the app and use it?

Originally created by @aliscie on GitHub (Mar 24, 2022). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/422 Should I run `npm run` or `cargo start` to launch the app and use it?
Author
Owner

@AkechiShiro commented on GitHub (Mar 24, 2022):

Hi @aliscie, please make sure to read the README first before opening an issue (unless you read the README and there is a mistake somewhere in it), there were links to the documentation explaining how to install, how to build, how to contribute : https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/environment-setup/building-on-linux

As I'm not a contributor of this project I can't close the issue but if you have no other question, then someone from AppFlowy could close the issue I believe.

<!-- gh-comment-id:1078214736 --> @AkechiShiro commented on GitHub (Mar 24, 2022): Hi @aliscie, please make sure to read the README first before opening an issue (unless you read the README and there is a mistake somewhere in it), there were links to the documentation explaining how to install, how to build, how to contribute : https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/environment-setup/building-on-linux As I'm not a contributor of this project I can't close the issue but if you have no other question, then someone from AppFlowy could close the issue I believe.
Author
Owner

@aliscie commented on GitHub (Mar 24, 2022):

I tried that didn't work for me also I am using pycharm.

<!-- gh-comment-id:1078310651 --> @aliscie commented on GitHub (Mar 24, 2022): I tried that didn't work for me also I am using pycharm.
Author
Owner

@AkechiShiro commented on GitHub (Mar 24, 2022):

Alright, could you please explain in details the error (logs, what command did you run if you ran any?) in order for someone to help you ?
Or you only opened the source code in your Charm IDE ? (And what Charm IDE are you using from Jetbrains I assume)

<!-- gh-comment-id:1078325871 --> @AkechiShiro commented on GitHub (Mar 24, 2022): Alright, could you please explain in details the error (logs, what command did you run if you ran any?) in order for someone to help you ? Or you only opened the source code in your Charm IDE ? (And what Charm IDE are you using from Jetbrains I assume)
Author
Owner

@aliscie commented on GitHub (Mar 26, 2022):

@AkechiShiro when I ran cargo make flowy_dev I got this error

[cargo-make][1] INFO - Running Task: install_diesel
    Updating crates.io index
     Ignored package `diesel_cli v1.4.1` is already installed, use --force to override
[cargo-make][1] INFO - Running Task: install_protobuf_compiler
Install protoc_plugin (Dart)
/var/folders/v3/4llt971130g6vvbq53m6k84w0000gn/T/apple/fsio/4mYy3lHHKn.sh: line 4: dart: command not found
[cargo-make][1] ERROR - Error while executing command, exit code: 127
[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.
(base) apples-MBP:frontend apple$ 
<!-- gh-comment-id:1079707312 --> @aliscie commented on GitHub (Mar 26, 2022): @AkechiShiro when I ran `cargo make flowy_dev` I got this error ```py [cargo-make][1] INFO - Running Task: install_diesel Updating crates.io index Ignored package `diesel_cli v1.4.1` is already installed, use --force to override [cargo-make][1] INFO - Running Task: install_protobuf_compiler Install protoc_plugin (Dart) /var/folders/v3/4llt971130g6vvbq53m6k84w0000gn/T/apple/fsio/4mYy3lHHKn.sh: line 4: dart: command not found [cargo-make][1] ERROR - Error while executing command, exit code: 127 [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. (base) apples-MBP:frontend apple$ ```
Author
Owner

@AkechiShiro commented on GitHub (Mar 26, 2022):

@aliscie you probably have an issue with flutter, could you run flutter doctor and show its output ?
Because the dart command is coming from flutter.
What distro linux are you on ? How did you install flutter and did you make any PATH modification after installing flutter ?
Finally can you run dart --version in your shell ?

<!-- gh-comment-id:1079730117 --> @AkechiShiro commented on GitHub (Mar 26, 2022): @aliscie you probably have an issue with flutter, could you run `flutter doctor` and show its output ? Because the `dart` command is coming from flutter. What distro linux are you on ? How did you install flutter and did you make any PATH modification after installing flutter ? Finally can you run `dart --version` in your shell ?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#195
No description provided.