Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Revanced-builder unable to start #741

Open
TheRedNet opened this issue May 13, 2023 · 3 comments
Open

Revanced-builder unable to start #741

TheRedNet opened this issue May 13, 2023 · 3 comments

Comments

@TheRedNet
Copy link

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:

  • C:\snapshot\revanced-builder\wsEvents\patchApp.js
  • C:\snapshot\revanced-builder\wsEvents\index.js
  • C:\snapshot\revanced-builder\index.js
  1. If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
    at Module._resolveFilename (node:internal/modules/cjs/loader:946:15)
    at Function._resolveFilename (pkg/prelude/bootstrap.js:1951:46)
    at Module._load (node:internal/modules/cjs/loader:787:27)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at Module.require (pkg/prelude/bootstrap.js:1851:31)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (C:\snapshot\revanced-builder\wsEvents\patchApp.js:10:15)
    at Module._compile (pkg/prelude/bootstrap.js:1926:22)
    at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
    at Module.load (node:internal/modules/cjs/loader:988:32) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\snapshot\revanced-builder\wsEvents\patchApp.js',
    'C:\snapshot\revanced-builder\wsEvents\index.js',
    'C:\snapshot\revanced-builder\index.js'
    ],
    pkg: true
    }

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:

  • C:\snapshot\revanced-builder\wsEvents\patchApp.js
  • C:\snapshot\revanced-builder\wsEvents\index.js
  • C:\snapshot\revanced-builder\index.js
  1. If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
    at Module._resolveFilename (node:internal/modules/cjs/loader:946:15)
    at Function._resolveFilename (pkg/prelude/bootstrap.js:1951:46)
    at Module._load (node:internal/modules/cjs/loader:787:27)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at Module.require (pkg/prelude/bootstrap.js:1851:31)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (C:\snapshot\revanced-builder\wsEvents\patchApp.js:10:15)
    at Module._compile (pkg/prelude/bootstrap.js:1926:22)
    at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
    at Module.load (node:internal/modules/cjs/loader:988:32) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\snapshot\revanced-builder\wsEvents\patchApp.js',
    'C:\snapshot\revanced-builder\wsEvents\index.js',
    'C:\snapshot\revanced-builder\index.js'
    ],
    pkg: true
    }

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:

  • C:\snapshot\revanced-builder\wsEvents\patchApp.js
  • C:\snapshot\revanced-builder\wsEvents\index.js
  • C:\snapshot\revanced-builder\index.js
  1. If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
    at Module._resolveFilename (node:internal/modules/cjs/loader:946:15)
    at Function._resolveFilename (pkg/prelude/bootstrap.js:1951:46)
    at Module._load (node:internal/modules/cjs/loader:787:27)
    at Module.require (node:internal/modules/cjs/loader:1012:19)
    at Module.require (pkg/prelude/bootstrap.js:1851:31)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object. (C:\snapshot\revanced-builder\wsEvents\patchApp.js:10:15)
    at Module._compile (pkg/prelude/bootstrap.js:1926:22)
    at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
    at Module.load (node:internal/modules/cjs/loader:988:32) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    'C:\snapshot\revanced-builder\wsEvents\patchApp.js',
    'C:\snapshot\revanced-builder\wsEvents\index.js',
    'C:\snapshot\revanced-builder\index.js'
    ],
    pkg: true
    }

Node.js v18.5.0
`

@1Phase1
Copy link

1Phase1 commented May 13, 2023

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

@ntcong
Copy link

ntcong commented May 13, 2023

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

@Zoey2936
Copy link

Running from source with fkill readed fixed it. (But:

const currentVersion = 'v3.9.1';
) still has the wrong version number

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants