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

Cannot build on Windows when directory uses symlinks #74

Open
0xNF opened this issue Aug 3, 2024 · 2 comments
Open

Cannot build on Windows when directory uses symlinks #74

0xNF opened this issue Aug 3, 2024 · 2 comments

Comments

@0xNF
Copy link

0xNF commented Aug 3, 2024

This issue stems from this issue over in the Flutter Rust Bridge project.

The maintainers there say this is a cargokit issue. I can build the project in question when I go to the real non symlinked directory, but otherwise I get unresolvable errors about finding directories:

Get-Item : Cannot find path 'C:\Users\0xnf\Documents\projects\experiments\frb_test_2\Users\nf' because it does
not exist.
At C:\Users\0xnf\projects\experiments\frb_test_2\windows\flutter\ephemeral\.plugin_symlinks\rust_lib_frb_test_2\cargokit\
cmake\resolve_symlinks.ps1:18 char:17
+         $item = Get-Item $realPath
+                 ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\0xnf\Doc...test_2\Users\nf:String) [Get-Item], ItemNotFoundExcep
   tion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemCommand
@Markus43
Copy link

Same error here, but: the project actually builds, despite the error being printed. @0xNF did you find out anything else in-between?

@0xNF
Copy link
Author

0xNF commented Nov 25, 2024

No sorry, I haven't investigated since I opened the issue.

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

No branches or pull requests

2 participants