reisxd / revanced-builder

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

Revanced-builder unable to start #741

Open TheRedNet opened 1 year ago

TheRedNet commented 1 year ago

OS: windows11 x64 builder version: 3.9.2 LOG:

` PS D:\programms\ReVancedInstaller> .\revanced-builder-win.exe pkg/prelude/bootstrap.js:1872 throw error; ^

Error: Cannot find module 'fkill' Require stack:

Node.js v18.5.0 PS D:\programms\ReVancedInstaller> .\revanced-builder-win.exe pkg/prelude/bootstrap.js:1872 throw error; ^

Error: Cannot find module 'fkill' Require stack:

Node.js v18.5.0 PS D:\programms\ReVancedInstaller> .\revanced-builder-win.exe [builder] Listening at port 8000 [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. Error: spawn C:\snapshot\revanced-builder\node_modules\process-exists\node_modules\ps-list\fastlist.exe ENOENT at ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:476:16) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) [builder] Please report this bug here: https://github.com/reisxd/revanced-builder/issues. PS D:\programms\ReVancedInstaller> .\revanced-builder-win.exe pkg/prelude/bootstrap.js:1872 throw error; ^

Error: Cannot find module 'fkill' Require stack:

Node.js v18.5.0 `

1Phase1 commented 1 year ago

Can confirm that I'm getting this exact same issue on Termux in Android

ntcong commented 1 year ago

fkill was removed in this (https://github.com/reisxd/revanced-builder/commit/375c863cfaed4be70ee259877d551c9fc55f3f9c) but is still required in this module https://github.com/reisxd/revanced-builder/blob/main/wsEvents/patchApp.js

Zoey2936 commented 1 year ago

Running from source with fkill readed fixed it. (But: https://github.com/reisxd/revanced-builder/blob/375c863cfaed4be70ee259877d551c9fc55f3f9c/wsEvents/checkForUpdates.js#L3) still has the wrong version number