Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gyp error. Installation unsuccessful. #5

Open
Akamurasak1 opened this issue Mar 31, 2024 · 5 comments
Open

Gyp error. Installation unsuccessful. #5

Akamurasak1 opened this issue Mar 31, 2024 · 5 comments

Comments

@Akamurasak1
Copy link

I followed the installation direction. But at homebridge-config-ui-x it shown error as below. Do you have any idea how to solve it? Im running on android 10 in android box. Connected via wired LAN.
IMG_0706

@Repi30
Copy link

Repi30 commented Apr 3, 2024

image

@NaufalF22
Copy link

image

Install git

@NaufalF22
Copy link

NaufalF22 commented Apr 3, 2024

Try this or this

@Dihgg
Copy link

Dihgg commented May 1, 2024

Were you able to solve your issue?

@nickmorozov
Copy link

I've added this line to other -D options at /data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:

    argv.push('-Dlibrary=shared_library')
    argv.push('-Dvisibility=default')
    argv.push('-Dandroid_ndk_path=""') # Added empty variable since it's required, apparently
    argv.push('-Dnode_root_dir=' + nodeDir)

Restarted setup.sh and install went through without issues.

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

No branches or pull requests

5 participants