reisxd / revanced-builder

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

FetchError in Browser interface #650

Closed pratikmullick closed 1 year ago

pratikmullick commented 1 year ago

Revanced builder does not continue after sending out the following error message:

[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 /data/data/com.termux/files/home/revanced-builder/node_modules/node-fetch/lib/index.js:273:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async fetchPackages (/data/data/com.termux/files/home/revanced-builder/wsEvents/getApp.js:19:20)
    at async getPatches (/data/data/com.termux/files/home/revanced-builder/wsEvents/getApp.js:40:16)
    at async WebSocket.<anonymous> (/data/data/com.termux/files/home/revanced-builder/index.js:175:9)
[builder] Please report this bug here: https://github.com/reisxd/revanced-builder/issues.

System: Android v13.0 Non-rooted running Termux downloaded from F-Droid.

Screenshot_20230212_195223_Chrome Screenshot_20230212_195242_Chrome

reisxd commented 1 year ago

APKMirror is down.

gregist commented 1 year ago

So currently is there any workaround for this issue? @reisxd

reisxd commented 1 year ago

No. If APKMirror is down then you can't do anything.