inotia00 / rvx-builder

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

v3.4.16 Youtube Build Error #9

Closed lentm88 closed 1 year ago

lentm88 commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

[builder] An error occured. Error: EBUSY: resource busy or locked, unlink '\?\C:\Users\ChrisB\Downloads\ReVanced\inotia00\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.

To Reproduce Steps to reproduce the behavior:

I tried to build Youtube Revanced with v3.4.16, and got the error above. On v3.4.15, it builds fine.

Screenshots If applicable, add screenshots to help explain your problem.

**revanced-builder Version: v3.4.16

Desktop (please complete the following information):

Additional context On v3.4.15, it builds fine.

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:

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.
inotia00 commented 1 year ago

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

lentm88 commented 1 year ago

Hello! This is a duplicate of issue #7 (comment), that I had and I did share the steps to solve that issue in this #7 (comment). Please try that and report back in #7 (comment) if you had success or even if didn't as this helps too.

For reference:

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.

Thanks, Spacellary. I didn't have Node.js installed, so step 1&3 resolved the issue for me.