[FRB Codegen] Canonicalization Path Issue #2695
Unanswered
BjarneNiklas
asked this question in
Q&A
Replies: 1 comment
-
Replied in #2696 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, can someone help us with that?
Info: When the project is finished and ready to use, you will be rewarded. AI cannot help us at the moment. Tried on Windows, Linux and Docker.
Problem Description:
flutter_rust_bridge_codegen
Path Canonicalization Error (os error 2) in Docker and WindowsTool:
flutter_rust_bridge_codegen
(tried v2.9.0 and v2.8.0)Command:
flutter_rust_bridge_codegen generate
Error: Consistently fails with
Error: Fail to canonicalize path="..."
followed byCaused by: No such file or directory (os error 2)
. This occurs when trying to resolve the Dart output path.Environment: The issue occurs both on the Windows 11 host (using PowerShell) and, more persistently, inside a Docker container based on
ubuntu:latest
.Docker Environment Details
ubuntu:latest
COPY . /app
in Dockerfile. Project root inside container is/app
.rustup
.flutter_rust_bridge_codegen
: Installed viacargo install --version <version>
. Tested versions 2.9.0 and 2.8.0.Configuration (
/app/integrations/world_engine/flutter_rust_bridge.yaml
)The standard configuration uses relative paths:
Beta Was this translation helpful? Give feedback.
All reactions