mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-03-07 06:20:50 -08:00
Create ErrorDuringRelease.md
This commit is contained in:
parent
fad4449d81
commit
729ff22c5b
1 changed files with 17 additions and 0 deletions
17
docs/ErrorDuringRelease.md
Normal file
17
docs/ErrorDuringRelease.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Deal with errors during release build
|
||||
|
||||
## `EBUSY: resource busy or locked` during make
|
||||
|
||||
```log
|
||||
Error: EBUSY: resource busy or locked, unlink 'i:\Temp\...\tidgi.0.13.0-prerelease18.nupkg'
|
||||
```
|
||||
|
||||
esbuild process doesn't exit properly after packaging, holding file handles to temp files.
|
||||
|
||||
Solution: kill background **esbuild** process
|
||||
|
||||
```powershell
|
||||
Get-Process | Where-Object { $_.ProcessName -match "esbuild|electron" } | Stop-Process -Force
|
||||
Remove-Item "$env:TEMP\si-*" -Recurse -Force -ErrorAction SilentlyContinue
|
||||
Start-Sleep -Seconds 2
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue