inotia00 / rvx-builder

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

TypeError: patches.compatiblePackages is not iterable #115

Closed TheRedNet closed 9 months ago

TheRedNet commented 9 months ago

Describe the bug Failure after download of dependencies

To Reproduce Steps to reproduce the behavior:

  1. Change source organization to 'ReVanced'
  2. Click on 'StartPatching'
  3. Wait for dependency download to finish
  4. Click 'Continue'
  5. See error

Screenshots image

revanced-builder Version: v3.9.15

Desktop (please complete the following information):

ntcong commented 9 months ago

looks like revanced-patches changed missing patch options from empty array to null which broke patch iteration in several places.

auanasgheps commented 9 months ago

I have the same issue, let's wait for the maintainer to comment.

inotia00 commented 9 months ago

fixed in rvx-builder-v3.10.0

auanasgheps commented 8 months ago

As usual, thank you for your fast response!

auanasgheps commented 8 months ago

Hi, I have updated to builder v3.10 but I'm still getting the error: image

inotia00 commented 8 months ago

ah, the reason I closed this issue is because the same issue was reproduced in the RVX patch using CLI v4.0 and I fixed it. (i.e. I solved the issue in the RVX patch)

Compatibility with official ReVanced sources is not guaranteed

ntcong commented 8 months ago

I can confirm it's working for revanced sources, the above comment probably left something not upgraded.

inotia00 commented 8 months ago

tbh I don't use the official ReVanced source Since some people seem to want it, I added compatibility with the official ReVanced source in rvx-builder-v3.10.1