[GH-ISSUE #398] error: failed to select a version for flowy-folder. #182

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

Originally created by @goodforever on GitHub (Feb 28, 2022).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/398

cargo make --profile production-mac-x86 appflowy

error: failed to select a version for flowy-folder.
... required by package flowy-sdk v0.1.0 (/Users/foo/AppFlowy/frontend/rust-lib/flowy-sdk)
... which satisfies path dependency flowy-sdk (locked to 0.1.0) of package dart-ffi v0.1.0 (/Users/foo/AppFlowy/frontend/rust-lib/dart-ffi)
versions that meet the requirements * are: 0.1.0

the package flowy-sdk depends on flowy-folder, with features: flowy-folder but flowy-folder does not have these features.

failed to select a version for flowy-folder which could resolve this conflict
[cargo-make] ERROR - Error while executing command, exit code: 101
[cargo-make] WARN - Build Failed.

Originally created by @goodforever on GitHub (Feb 28, 2022). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/398 cargo make --profile production-mac-x86 appflowy error: failed to select a version for `flowy-folder`. ... required by package `flowy-sdk v0.1.0 (/Users/foo/AppFlowy/frontend/rust-lib/flowy-sdk)` ... which satisfies path dependency `flowy-sdk` (locked to 0.1.0) of package `dart-ffi v0.1.0 (/Users/foo/AppFlowy/frontend/rust-lib/dart-ffi)` versions that meet the requirements `*` are: 0.1.0 the package `flowy-sdk` depends on `flowy-folder`, with features: `flowy-folder` but `flowy-folder` does not have these features. failed to select a version for `flowy-folder` which could resolve this conflict [cargo-make] ERROR - Error while executing command, exit code: 101 [cargo-make] WARN - Build Failed.
Author
Owner

@MikeWallaceDev commented on GitHub (Mar 1, 2022):

Why was this closed @goodforever ? Did you find a solution? Is it something we need to document?

<!-- gh-comment-id:1055545483 --> @MikeWallaceDev commented on GitHub (Mar 1, 2022): Why was this closed @goodforever ? Did you find a solution? Is it something we need to document?
Author
Owner

@dxafn commented on GitHub (Mar 19, 2022):

I've changed the feature line

dart = ["lib-infra/dart", "flowy-folder/dart"]

into

dart = ["lib-infra/dart"]

from the file frontend/rust-lib/flowy-folder/Cargo.toml, and managed to build

<!-- gh-comment-id:1073019577 --> @dxafn commented on GitHub (Mar 19, 2022): I've changed the feature line > dart = ["lib-infra/dart", "flowy-folder/dart"] into > dart = ["lib-infra/dart"] from the file `frontend/rust-lib/flowy-folder/Cargo.toml`, and managed to build
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#182
No description provided.