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

Requires "Developer mode" to be enabled on Windows for symlinks to work #9

Closed
timfish opened this issue Jun 7, 2021 · 1 comment · Fixed by #10
Closed

Requires "Developer mode" to be enabled on Windows for symlinks to work #9

timfish opened this issue Jun 7, 2021 · 1 comment · Fixed by #10

Comments

@timfish
Copy link

timfish commented Jun 7, 2021

This is looking great!

I decided to try out building and running the example on Windows too and hit an issue where permission was denied creating a symlink to flutter_export.h in the build process.

It turns out you can't create symlinks on Windows without elevated permissions unless you've enabled "Developer mode". It might be worth capturing this panic on Windows and pointing them at the official docs:
https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development

@knopp
Copy link
Contributor

knopp commented Jun 7, 2021

It turns out that even if I disable developer mode, I can still make symlinks. So it seems that perhaps once enabled it is enabled forever :-/

Edit, nevermind, it only worked though remote vscode remote connection. Running it directly on the machine fails with privileges error, but only every second time. Which doesn't exactly inspire confidence, but it's good enough to reproduce the problem.

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