inotia00 / rvx-builder

A NodeJS ReVanced Extended builder
GNU General Public License v3.0
531 stars 48 forks source link

Build Error #12

Closed me2BOY closed 1 year ago

me2BOY commented 1 year ago

Error: EBUSY: resource busy or locked, unlink '\?\D:\ReVanced AMOLED\revanced-cache\1.apk' at unlinkSync (node:fs:1780:3) at _unlinkSync (node:internal/fs/rimraf:214:14) at rimrafSync (node:internal/fs/rimraf:195:7) at node:internal/fs/rimraf:253:9 at Array.forEach () at _rmdirSync (node:internal/fs/rimraf:250:7) at rimrafSync (node:internal/fs/rimraf:193:7) at rmSync (node:fs:1274:10) at afterBuild (C:\snapshot\rvx-builder-build3\wsEvents\patchApp.js:38:3) at Socket. (C:\snapshot\rvx-builder-build3\wsEvents\patchApp.js:219:53) [builder] Please report this bug here: https://github.com/inotia00/rvx-builder/issues.

WIndows 11

Spacellary commented 1 year ago

Hello! This is a duplicate of issue https://github.com/inotia00/rvx-builder/issues/7#issue-1428752217, that I had and I did share the steps to solve that issue in this https://github.com/inotia00/rvx-builder/issues/7#issuecomment-1296274651. Please try that and report back in https://github.com/inotia00/rvx-builder/issues/7#issue-1428752217 if you had success or even if didn't as this helps too.

For reference:

I was able to now build normally after doing the following steps:

1) Uninstalled the Zulu JDK 17 version that was installed.
2) Uninstalled Node.js.

3) Installed Zulu JDK again (Zulu JDK 17 v17.36.15 from Winget).
4) Build again, with success.

I used Geek Uninstaller to perform a clean removal (uninstall and remove residual files) of the software and I installed Zulu JDK 17 v17.36.15 using WingetUI/Winget.

inotia00 commented 1 year ago

duplicate https://github.com/inotia00/rvx-builder/issues/7#issuecomment-1296274651