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

In arch linux Failes while installing #306

Open
uwuv3 opened this issue Dec 28, 2024 · 0 comments
Open

In arch linux Failes while installing #306

uwuv3 opened this issue Dec 28, 2024 · 0 comments

Comments

@uwuv3
Copy link

uwuv3 commented Dec 28, 2024

npm error path /usr/local/lib/node_modules/brain.js/node_modules/gl
npm error command failed
npm error command sh -c prebuild-install || node-gyp rebuild
npm error make: Entering directory '/usr/local/lib/node_modules/brain.js/node_modules/gl/build'
npm error CXX(target) Release/obj.target/angle_common/angle/src/common/Float16ToFloat32.o
npm error make: Leaving directory '/usr/local/lib/node_modules/brain.js/node_modules/gl/build'
npm error prebuild-install warn install No prebuilt binaries found (target=22.12.0 runtime=node arch=x64 libc= platform=linux)
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | linux | x64
npm error (node:27195) [DEP0060] DeprecationWarning: The util._extend API is deprecated. Please use Object.assign() instead.
npm error (Use node --trace-deprecation ... to show where the warning was created)
npm error gyp info find Python using Python version 3.13.1 found at "/usr/bin/python3"
npm error gyp http GET https://nodejs.org/download/release/v22.12.0/node-v22.12.0-headers.tar.gz
npm error gyp http 200 https://nodejs.org/download/release/v22.12.0/node-v22.12.0-headers.tar.gz
npm error gyp http GET https://nodejs.org/download/release/v22.12.0/SHASUMS256.txt
npm error gyp http 200 https://nodejs.org/download/release/v22.12.0/SHASUMS256.txt
npm error gyp info spawn /usr/bin/python3
npm error gyp info spawn args [
npm error gyp info spawn args '/usr/local/lib/node_modules/brain.js/node_modules/node-gyp/gyp/gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'make',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/usr/local/lib/node_modules/brain.js/node_modules/gl/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/usr/local/lib/node_modules/brain.js/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/root/.cache/node-gyp/22.12.0/include/node/common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/22.12.0',
npm error gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/brain.js/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/22.12.0/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=/usr/local/lib/node_modules/brain.js/node_modules/gl',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info spawn make
npm error gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm error In file included from ../angle/src/common/debug.h:16,
npm error from ../angle/src/common/mathutil.h:12,
npm error from ../angle/src/common/Float16ToFloat32.cpp:9:
npm error ../angle/src/common/angleutils.h:36:14: hata: 'uintptr_t' bir türü isimlendirmiyor
npm error 36 | extern const uintptr_t DirtyPointer;
npm error | ^~~~~~~~~
npm error ../angle/src/common/angleutils.h:21:1: bilgi: 'uintptr_t' is defined in header ''; this is probably fixable by adding '#include '
npm error 20 | #include
npm error +++ |+#include
npm error 21 |
npm error make: *** [angle/src/angle_common.target.mk:156: Release/obj.target/angle_common/angle/src/common/Float16ToFloat32.o] Error 1
npm error gyp ERR! build error
npm error gyp ERR! stack Error: make failed with exit code: 2
npm error gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/brain.js/node_modules/node-gyp/lib/build.js:203:23)
npm error gyp ERR! stack at ChildProcess.emit (node:events:524:28)
npm error gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm error gyp ERR! System Linux 6.12.6-arch1-1
npm error gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/brain.js/node_modules/.bin/node-gyp" "rebuild"
npm error gyp ERR! cwd /usr/local/lib/node_modules/brain.js/node_modules/gl
npm error gyp ERR! node -v v22.12.0
npm error gyp ERR! node-gyp -v v9.4.1
npm error gyp ERR! not ok
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-12-28T17_00_04_580Z-debug-0.log

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

1 participant