reisxd / revanced-builder

A NodeJS ReVanced builder
GNU General Public License v3.0
1.94k stars 172 forks source link

Error in select app to patch stage #644

Closed HotCakeX closed 1 year ago

HotCakeX commented 1 year ago

Describe the bug I get this error on app selection step

To Reproduce Steps to reproduce the behavior:

  1. select start patching
  2. wait for dependency downloading to succeed
  3. in the select app to patch, I get the error.

Screenshots image

revanced-builder Version: [e.g. v1.2.10]

[builder] Listening at port 8002
[builder] The webserver is now running!
[builder] Opening the app in the default browser... Done, check if a browser window has opened
[builder] An error occured.
FetchError: invalid json response body at https://www.apkmirror.com/wp-json/apkm/v1/app_exists/ reason: Unexpected token < in JSON at position 0
    at C:\snapshot\revanced-builder\node_modules\node-fetch\lib\index.js:273:32
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async fetchPackages (C:\snapshot\revanced-builder\wsEvents\getApp.js:19:20)
    at async getPatches (C:\snapshot\revanced-builder\wsEvents\getApp.js:40:16)
    at async WebSocket.<anonymous> (C:\snapshot\revanced-builder\index.js:175:9)
[builder] Please report this bug here: https://github.com/reisxd/revanced-builder/issues.
stefano99 commented 1 year ago

It happens to me too, using Termux on Android.

kvba0000 commented 1 year ago

Same problem on my side