acode-plugin-acodex
acode-plugin-acodex copied to clipboard
error during installing server and running it
● ● ● apt update ~
Hit:1 https://packages-cf.termux.dev/apt/termux-main stable InRelease
Hit:2 https://packages-cf.termux.dev/apt/termux-root root InRelease
Hit:3 https://packages-cf.termux.dev/apt/termux-x11 x11 InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
● ● ● curl -sL https://raw.githubusercontent.com/bajrangCoder/acode-plugin-acodex/main/installServer.sh | bash
[*] Installing acodeX-server...
[#################.] / reify:node-pty: timing reifyNode:node_
> [email protected] install
> node-gyp rebuild
gyp info it worked if it ends with okming reifyNode:node_modu
gyp info using [email protected]
gyp info using [email protected] | android | arm64
gyp info find Python using Python version 3.11.6 found at "/data/data/com.termux/files/usr/bin/python3"
gyp info spawn /data/data/com.termux/files/usr/bin/python3odu
gyp info spawn args [
gyp info spawn args '/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/data/data/com.termux/files/usr/lib/node_modules/acodex-server/node_modules/node-pty/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/data/data/com.termux/files/home/.cache/node-gyp/20.2.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/data/data/com.termux/files/home/.cache/node-gyp/20.2.0',
gyp info spawn args '-Dnode_gyp_dir=/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/data/data/com.termux/files/home/.cache/node-gyp/20.2.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/data/data/com.termux/files/usr/lib/node_modules/acodex-server/node_modules/node-pty',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make] | reify:hono: timing reifyNode:node_modu
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/data/data/com.termux/files/usr/lib/node_modules/acodex-server/node_modules/node-pty/build'
CXX(target) Release/obj.target/pty/src/unix/pty.o:node_modu
In file included from ../src/unix/pty.cc:20:ifyNode:node_modu
../../nan/nan.h:688:39: warning:
'IdleNotificationDeadline' is deprecated: Use
MemoryPressureNotification() to influence the GC
schedule. [-Wdeprecated-declarations]
688 | return v8::Isolate::GetCurrent()->IdleNotification...
| ^
/data/data/com.termux/files/home/.cache/node-gyp/20.2.0/include/node/v8-isolate.h:1291:3: note:
'IdleNotificationDeadline' has been explicitly marked
deprecated here
1291 | V8_DEPRECATE_SOON(
| ^
/data/data/com.termux/files/home/.cache/node-gyp/20.2.0/include/node/v8config.h:550:39: note:
expanded from macro 'V8_DEPRECATE_SOON'
550 | # define V8_DEPRECATE_SOON(message) [[deprecated(message)]]
| ^
1 warning generated. | reify:hono: timing reifyNode:node_modu
SOLINK_MODULE(target) Release/obj.target/pty.node:node_modu
make: https://github.com/mayTermux: No such file or directory
make: *** [pty.target.mk:139: Release/obj.target/pty.node] Error 127
make: Leaving directory '/data/data/com.termux/files/usr/lib/node_modules/acodex-server/node_modules/node-pty/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:203:23)
gyp ERR! stack at ChildProcess.emit (node:events:511:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
gyp ERR! System Linux 4.14.116
gyp ERR! command "/data/data/com.termux/files/usr/bin/node" "/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /data/data/com.termux/files/usr/lib/node_modules/acodex-server/node_modules/node-pty
gyp ERR! node -v v20.2.0
gyp ERR! node-gyp -v v9.3.1
gyp ERR! not ok
npm ERR! code 1
npm ERR! path /data/data/com.termux/files/usr/lib/node_modules/acodex-server/node_modules/node-pty
npm ERR! command failed
npm ERR! command sh -c node-gyp rebuild
npm ERR! A complete log of this run can be found in: /data/data/com.termux/files/home/.npm/_logs/2024-02-01T09_16_56_080Z-debug-0.log
`acodeX-server` installed successfully. Run `acodeX-server` to start the server.
● ● ● acodeX-server ~
acodeX-server: command not found
~
i thought you are using mayTermux theme?
yeah same error found 🙃 , ,how to solve it ??
Disable the mayTermux and install AcodeX server and then enable it again