-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
The process cannot access the file because it is being used by another process. #1422
Comments
I cleaned up the computer's cache and |
Thanks for opening this issue. Might some antivirus program lock the file until scanning has been finished? |
我也有这个问题。 |
I also have this problem! `PS F:\root-go\oclient> wails doctor Scanning system - Please wait (this may take a long time)...Done. SystemOS: Windows 10 Enterprise LTSC 2019 WailsVersion: v2.0.0-beta.37 Dependency Package Name Status Version WebView2 N/A Installed 101.0.1210.53
DiagnosisYour system is ready for Wails development!
If Wails is useful to you or your company, please consider sponsoring the project: `PS F:\root-go\oclient> wails dev Executing: go mod tidy -compat=1.17
ERROR: remove C:\Users\ADMINI~1\AppData\Local\Temp\wailsbindings.exe: Access is denied. If Wails is useful to you or your company, please consider sponsoring the project: |
@sentangle are you using an antivirus tool, which might block the file? I think we could probably just change the deletion of that temp file to a best effort case. If it could be deleted, that's fine otherwise it will be left in there and overwritten during the next build. |
Weird this seems to be happening only on Windows. I agree with just best effort delete. I'm not 100% sure it will be overwritten though if it's locked. Let's see 👍 |
@sentangle @chenxiao1990 @yangpeng1994 - Please try the linked PR and let us know if it fixes this. Thanks 👍 |
@sentangle @chenxiao1990 @yangpeng1994 - Any updates? |
PS E:\chenxiao\wailsjianfei> wails doctor WailsVersion: v2.0.0-beta.37 system : win11 ERROR: remove C:\Users\zxj\AppData\Local\Temp\wailsbindings.exe: The process cannot access the file because it is being used by another process. Update code to the linked PR, work well. |
A fix has been released with v2.0.0-beta.38. |
Description
OS: windows10
wails: v2.0.0-beta.35
run "wails dev" error:The process cannot access the file because it is being used by another process.
run "wails build" is ok,other computer run "wails dev" also ok.
To Reproduce
Expected behaviour
running "wails dev"
Screenshots
No response
Attempted Fixes
No response
System Details
Additional context
No response
The text was updated successfully, but these errors were encountered: