-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
[tool_crash] "OS Error: Incorrect function" in plugin symlinking if Flutter and project are on different volumes #66224
Comments
What kind of drive is |
it was local E drive in same hard disk in windows and windows is also install in c drive for same disk |
@clarkezone Do you happen to know the exact requirements around symlink support? Is any cross-drive linking forbidden? If so, that'll be an annoying limitation for building projects 😟 |
now i change my flutter project to c drive of my system and run and i got this error C:\flutter-desktop-embedding\testbed> flutter run FileSystemException: Cannot create link, path = |
That second error is expected if you haven't enabled developer mode, thus the error message. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
The docs appear to not address this, I can try and find an answer to this. |
This comment has been minimized.
This comment has been minimized.
This comment was marked as off-topic.
This comment was marked as off-topic.
I was going to fix this while fixing #66973 but I don't actually have a setup with a network volume. @jonahwilliams since you hit this you presumably do; could you take this one? |
I do not, I was scrubbing through crash logs and I found it :( |
The reproduction of this problem is actually easier than that. At least it's what I'm experiencing.
I'm not quite sure whether using any specific Flutter package triggers symlinking or not since I encountered this error when moving an existing project to an exFAT volume with lots of packages already in use. |
…across drives (#136424) ~~Fixes #136321 edit by @andrewkolos: Fixes #66224
…across drives (flutter#136424) ~~Fixes flutter#136321 edit by @andrewkolos: Fixes flutter#66224
@SureshKumar311 do not need to change the location of your project. With Windows App, run your project in Release Mode or close your IDE and rerun as Administrator. That fixed for me! |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Command
Steps to Reproduce
Logs
FileSystemException: Cannot create link, OS Error: Incorrect function.
, errno = 1
Flutter Application Metadata
Type: null
Version: null
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: master
Creation framework version: eaa9b47
Plugins
path_provider-1.6.16
path_provider_linux-0.0.1+2
path_provider_macos-0.0.4+4
path_provider_windows-0.0.3
shared_preferences-0.5.10
shared_preferences_linux-0.0.2+2
shared_preferences_macos-0.0.1+10
shared_preferences_web-0.1.2+7
url_launcher-5.6.0
url_launcher_linux-0.0.1+1
url_launcher_macos-0.0.1+8
url_launcher_web-0.1.3+2
url_launcher_windows-0.0.1+1
file_chooser
path_provider_fde
menubar
window_size
i was trying to run flutter desktop windows applications i had check flutter doctor but every thinks r correct bu it showing error message as below
PS E:\project_flutter\flutter-desktop-embedding\testbed> flutter build windows
Oops; flutter has exited unexpectedly: "FileSystemException: Cannot create link, path =
'E:\project_flutter\flutter-desktop-embedding\testbed\windows\flutter\ephemeral.plugin_symlinks\path_provider_windows' (OS Error: Incorrect function.
, errno = 1)".
A crash report has been written to E:\project_flutter\flutter-desktop-embedding\testbed\flutter_02.log.
This crash may already be reported. Check GitHub for similar crashes.
https://github.com/flutter/flutter/issues?q=is%3Aissue+FileSystemException%3A+Cannot+create+link%2C+path+%3D+%27E%3A%5Cproject_flutter%5Cflutter-desktop-embedding%5Ctestbed%5Cwindows%5Cflutter%5Cephemeral%5C.plugin_symlinks%5Cpath_provider_windows%27+%28OS+Error%3A+Incorrect+function.%0D%0A%2C+errno+%3D+1%29
plz help me
thank you advance
The text was updated successfully, but these errors were encountered: