Comments (7)
Error log?
from gyp-next.
2024-03-27T16_39_28_462Z-debug-0.log
It looks like node-gyp add some gypi contains this variable:
$ rg android_ndk_path /data/data/com.termux/files/home/.cache/node-gyp/21.6.2/include/node/common.gypi
241: 'cflags': [ '-fPIC', '-I<(android_ndk_path)/sources/android/cpufeatures' ],
from gyp-next.
It looks like the alpha software crashed. What happens when you remove that software from the build?
35 info run [email protected] install node-gyp rebuild
36 info run [email protected] install { code: 1, signal: null }
37 timing command:rebuild Completed in 1514ms
38 verbose stack Error: command failed
38 verbose stack at ChildProcess. (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:53:27)
38 verbose stack at ChildProcess.emit (node:events:519:28)
38 verbose stack at maybeClose (node:internal/child_process:1105:16)
38 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:305:5)
from gyp-next.
Closing in favor of
from gyp-next.
After tonyfettes/coc-rime@c91900b, it can be build in Android/termux. So can we add a default android_ndk_path to avoid this bug?
PS: It should be added in node-gyp
's js
code?
from gyp-next.
The error messages on tonyfettes/coc-rime#7 say nothing about android_ndk_path
. Letβs get that merged so that we have clear evidence of a android_ndk_path
problem so that we can recruit other to fix that problem.
from gyp-next.
It's my fault. Let me explain the full steps:
- Install https://github.com/termux/termux-app to an Android device
apt install nodejs librime json-c pkg-config
git clone --depth=1 https://github.com/tonyfettes/coc-rime
cd coc-rime
# before https://github.com/tonyfettes/coc-rime/commit/c91900b01ca84c1e43f53958dca30d3a59b23ab4
git checkout f307fa8c71a042663111705e14611444cacc2955
npm install
npm rebuild
You will set that error message.
from gyp-next.
Related Issues (20)
- Get the location of msbuild.exe HOT 5
- Built-in method to get path of current gyp/gypi file?
- Expansions not working for `'includes'` list items? HOT 3
- Visual Studio 2022 RC - Unknown Version? HOT 1
- Security concern HOT 22
- GitHub Action nodejs-windows.yml has been failing for 5 months HOT 1
- Re-enable node-gyp integration workflow HOT 2
- TypeError in xcodeproj_file.py HOT 3
- gyp-next on pypi.org is out of date by 2 years HOT 1
- Action file paths being incorrectly "fixed" with forward slashes in MSVS
- Build failure due to spaces in path HOT 1
- KeyError: 'build_type' trying to build NSS with gyp-next >0.12.1 HOT 1
- broke compilation of nodejs-mobile for iOS from a x64 macBook HOT 2
- Python tests broken HOT 1
- Testing on pre-release (beta) versions of Python HOT 2
- [feature] Shell completion
- [typo] miss <
- pypi is still at 0.15.0 HOT 3
- The return of `ModuleNotFoundError: No module named 'packaging'` on Py3.12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gyp-next.