Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Unable to build backend #62

Closed
vnepogodin opened this issue Nov 21, 2021 · 4 comments · Fixed by #66
Closed

[Bug] Unable to build backend #62

vnepogodin opened this issue Nov 21, 2021 · 4 comments · Fixed by #66

Comments

@vnepogodin
Copy link
Contributor

Describe the bug
The backend Cargo.toml doesn't build.

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/AppFlowy-IO/appflowy.git
  2. cd backend
  3. cargo build --release
  4. See error

Expected behavior
The backend should be built.

Additional context

  • Environment [e.g. flutter doctor -v or rustup show]
❯ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/vl/.rustup

installed toolchains
--------------------

nightly-2021-04-24-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu (default)

active toolchain
----------------

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.58.0-nightly (2885c4748 2021-11-20)
@ghost
Copy link

ghost commented Nov 21, 2021

Can you post the error output?

@vnepogodin
Copy link
Contributor Author

Yeah sure

@vnepogodin
Copy link
Contributor Author

vnepogodin commented Nov 21, 2021

warning: `lib-sqlite` (lib) generated 1 warning
   Compiling backend v0.1.0 (/home/vl/appflowy/backend)
error[E0437]: type `Config` is not a member of trait `FromRequest`
  --> src/entities/token.rs:83:5
   |
83 |     type Config = ();
   |     ^^^^^^^^^^^^^^^^^ not a member of trait `FromRequest`

error[E0437]: type `Config` is not a member of trait `FromRequest`
  --> src/service/user/logged_user.rs:44:5
   |
44 |     type Config = ();
   |     ^^^^^^^^^^^^^^^^^ not a member of trait `FromRequest`

For more information about this error, try `rustc --explain E0437`.
error: could not compile `backend` due to 2 previous errors

@appflowy
Copy link
Contributor

These errors are caused by the beta version of actix-web has been updated. I will update the cargo.toml file to fix this.

@annieappflowy annieappflowy linked a pull request Nov 22, 2021 that will close this issue
zoli added a commit to LucasXu0/AppFlowy that referenced this issue Aug 30, 2023
* feat: table plugin requisites

* feat: moved table plugin to appflowy-editor

* fix: flutter analyze

* fix: dont use nested maps in node attributes

rust backend (flowy-document) doesn't support it.

* feat: add table to appflowy editor default selection menu

* feat table markdown encoder

* refactor: apply @Xazin review suggestions

* refactor: merge main and fix color picker conflicts

* feat: table markdown decoder

* fix: use specific backgroun generator for table

* feat: table plugin

* style: adapt new structure

* fix: table columns border height

* fix: adapt new style key commands

* fix: remove table context menu

* test: adapt to main branch changes

* fix: backspace handling regarding table

* fix: flutter analyze

* fix: enter when table cell is bullet list

* fix: selection bug on large table

* feat: row/col action menu

* fix: row action handler positioning

* refactor: merge row and col handler widget

* refactor: add size and color to handler icon

* style(merge): merge main

* feat: added padding and action wrapper

* feat: enable customizing icons and etc

* feat: table menu builder

* fix: table getBlockRect

* refactor: table action button design

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
839900146 pushed a commit to 839900146/AppFlowy that referenced this issue Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants