Skip to content

[BUG] Doesn't install since node-waf is deprecated, should use node-gyp (no install directions for node-gyp) dockerfile? #50

Open
@munntjlx

Description

@munntjlx

Describe the bug
Attempting to install the configuration on a current version of sonoma, with node 20 installed, system doesn't find node-waf which I find is deprecated.

To Reproduce
Steps to reproduce the behavior:
npm install -g f5-corkscrew

Expected behavior
The system will install the program without error

Screenshots

npm ERR! code 1
npm ERR! path /Users/munntj/.asdf/installs/nodejs/20.12.0/lib/node_modules/f5-corkscrew/node_modules/zlib
npm ERR! command failed
npm ERR! command sh -c node-waf clean || true; node-waf configure build
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | x64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | darwin | x64
npm ERR! gyp info find Python using Python version 3.9.7 found at "/Users/munntj/.asdf/installs/python/3.9.7/bin/python3"
npm ERR! gyp http GET https://nodejs.org/download/release/v20.12.0/node-v20.12.0-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v20.12.0/node-v20.12.0-headers.tar.gz
npm ERR! gyp http GET https://nodejs.org/download/release/v20.12.0/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v20.12.0/SHASUMS256.txt
npm ERR! gyp info spawn /Users/munntj/.asdf/installs/python/3.9.7/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args '/Users/munntj/.asdf/installs/nodejs/20.12.0/lib/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args 'binding.gyp',
npm ERR! gyp info spawn args '-f',
npm ERR! gyp info spawn args 'make',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/munntj/.asdf/installs/nodejs/20.12.0/lib/node_modules/f5-corkscrew/node_modules/zlib/build/config.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/munntj/.asdf/installs/nodejs/20.12.0/lib/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args '-I',
npm ERR! gyp info spawn args '/Users/munntj/Library/Caches/node-gyp/20.12.0/include/node/common.gypi',
npm ERR! gyp info spawn args '-Dlibrary=shared_library',
npm ERR! gyp info spawn args '-Dvisibility=default',
npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/munntj/Library/Caches/node-gyp/20.12.0',
npm ERR! gyp info spawn args '-Dnode_gyp_dir=/Users/munntj/.asdf/installs/nodejs/20.12.0/lib/node_modules/node-gyp',
npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/munntj/Library/Caches/node-gyp/20.12.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/munntj/.asdf/installs/nodejs/20.12.0/lib/node_modules/f5-corkscrew/node_modules/zlib',
npm ERR! gyp info spawn args '-Dnode_engine=v8',
npm ERR! gyp info spawn args '--depth=.',
npm ERR! gyp info spawn args '--no-parallel',
npm ERR! gyp info spawn args '--generator-output',
npm ERR! gyp info spawn args 'build',
npm ERR! gyp info spawn args '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp: binding.gyp not found (cwd: /Users/munntj/.asdf/installs/nodejs/20.12.0/lib/node_modules/f5-corkscrew/node_modules/zlib) while trying to load binding.gyp
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
npm ERR! gyp ERR! stack at ChildProcess.<anonymous> (/Users/munntj/.asdf/installs/nodejs/20.12.0/lib/node_modules/node-gyp/lib/configure.js:317:18)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:518:28)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
npm ERR! gyp ERR! System Darwin 23.6.0
npm ERR! gyp ERR! command "/Users/munntj/.asdf/installs/nodejs/20.12.0/bin/node" "/Users/munntj/.asdf/installs/nodejs/20.12.0/bin/node-gyp" "configure" "build"
npm ERR! gyp ERR! cwd /Users/munntj/.asdf/installs/nodejs/20.12.0/lib/node_modules/f5-corkscrew/node_modules/zlib
npm ERR! gyp ERR! node -v v20.12.0
npm ERR! gyp ERR! node-gyp -v v11.0.0
npm ERR! gyp ERR! not ok

Desktop (please complete the following information):

  • OS: MacOS Sonoma 14.7.2
  • Browser N/A
  • Version Node version 20

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions