Git Product home page Git Product logo

Comments (3)

Salakar avatar Salakar commented on September 6, 2024 1

Same issue with 'cpu-features' ('ssh2' -> via 'dockerode'):

4.262 gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
4.262 gyp http GET https://nodejs.org/dist/v22.3.0/node-v22.3.0-headers.tar.gz
4.262 gyp http 200 https://nodejs.org/dist/v22.3.0/node-v22.3.0-headers.tar.gz
4.262 gyp http GET https://nodejs.org/dist/v22.3.0/SHASUMS256.txt
4.262 gyp http 200 https://nodejs.org/dist/v22.3.0/SHASUMS256.txt
4.262 gyp info spawn /usr/bin/python3
4.262 gyp info spawn args [
4.262 gyp info spawn args '/tmp/bunx-0-node-gyp@latest/node_modules/node-gyp/gyp/gyp_main.py',
4.262 gyp info spawn args 'binding.gyp',
4.262 gyp info spawn args '-f',
4.262 gyp info spawn args 'make',
4.262 gyp info spawn args '-I',
4.262 gyp info spawn args '/app/node_modules/cpu-features/build/config.gypi',
4.262 gyp info spawn args '-I',
4.262 gyp info spawn args '/tmp/bunx-0-node-gyp@latest/node_modules/node-gyp/addon.gypi',
4.262 gyp info spawn args '-I',
4.262 gyp info spawn args '/root/.cache/node-gyp/22.3.0/include/node/common.gypi',
4.262 gyp info spawn args '-Dlibrary=shared_library',
4.262 gyp info spawn args '-Dvisibility=default',
4.262 gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/22.3.0',
4.262 gyp info spawn args '-Dnode_gyp_dir=/tmp/bunx-0-node-gyp@latest/node_modules/node-gyp',
4.262 gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/22.3.0/<(target_arch)/node.lib',
4.262 gyp info spawn args '-Dmodule_root_dir=/app/node_modules/cpu-features',
4.262 gyp info spawn args '-Dnode_engine=v8',
4.262 gyp info spawn args '--depth=.',
4.262 gyp info spawn args '--no-parallel',
4.262 gyp info spawn args '--generator-output',
4.262 gyp info spawn args 'build',
4.262 gyp info spawn args '-Goutput_dir=.'
4.262 gyp info spawn args ]
4.262 gyp: name 'enable_lto' is not defined while evaluating condition 'enable_lto=="true"' in binding.gyp while trying to load binding.gyp
4.262 gyp ERR! configure error 
4.262 gyp ERR! stack Error: `gyp` failed with exit code: 1
4.262 gyp ERR! stack at <anonymous> (/tmp/bunx-0-node-gyp@latest/node_modules/node-gyp/lib/configure.js:317:22)
4.262 gyp ERR! stack at emit (node:events:180:48)
4.262 gyp ERR! stack at #handleOnExit (node:child_process:591:16)
4.262 gyp ERR! stack at processTicksAndRejections (:12:39)
4.262 gyp ERR! System Linux 6.10.0-linuxkit
4.262 gyp ERR! command "/usr/local/bin/bun" "/tmp/bunx-0-node-gyp@latest/node_modules/.bin/node-gyp" "rebuild"
4.262 gyp ERR! cwd /app/node_modules/cpu-features
4.262 gyp ERR! node -v v22.3.0
4.262 gyp ERR! node-gyp -v v10.2.0
4.262 gyp ERR! not ok 

from bun.

chicken-suop avatar chicken-suop commented on September 6, 2024

Same problem with bun install msgpackr

from bun.

kinton avatar kinton commented on September 6, 2024

Same problem with bun install

gyp: name 'enable_lto' is not defined while evaluating condition 'enable_lto=="true"' in binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at <anonymous> (/tmp/bunx-0-node-gyp@latest/node_modules/node-gyp/lib/configure.js:296:66)
gyp ERR! stack at emit (node:events:161:48)
gyp ERR! stack at #handleOnExit (node:child_process:591:16)
gyp ERR! stack at processTicksAndRejections (:12:39)
gyp ERR! System Linux 6.6.12-linuxkit
gyp ERR! command "/usr/local/bin/bun" "/tmp/bunx-0-node-gyp@latest/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /app/node_modules/tree-sitter-yaml
gyp ERR! node -v v22.2.0
gyp ERR! node-gyp -v v10.1.0
gyp ERR! not ok

error: install script from "tree-sitter-yaml" exited with 1

from bun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.