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

Not installing on Mac Silicon #248

Open
jessicachitas opened this issue Jan 22, 2025 · 0 comments
Open

Not installing on Mac Silicon #248

jessicachitas opened this issue Jan 22, 2025 · 0 comments

Comments

@jessicachitas
Copy link

Hi there! I tried installing Terminalizer today when I was faced with this error. I'm thinking maybe this version doesn't have Mac support yet but if you have a solution to this, that would be great!

jchitas@jchitas-mac ~ % yarn global add terminalizer
yarn global v1.22.22
[1/4] 🔍  Resolving packages...
warning terminalizer > electron > @electron/get > global-agent > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
warning terminalizer > electron > @electron/get > global-agent > roarr > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
[1/2] ⢀ @homebridge/node-pty-prebuilt-multiarch
error /Users/jchitas/.config/yarn/global/node_modules/@homebridge/node-pty-prebuilt-multiarch: Command failed.
Exit code: 1
Command: node scripts/check-prebuild.js || prebuild-install --verbose || node scripts/install.js
Arguments: 
Directory: /Users/jchitas/.config/yarn/global/node_modules/@homebridge/node-pty-prebuilt-multiarch
Output:
Prebuild binary missing for platform.
prebuild-install info begin Prebuild-install version 7.1.3
prebuild-install info looking for local prebuild @ prebuilds/node-pty-prebuilt-multiarch-v0.11.14-node-v131-darwin-arm64.tar.gz
prebuild-install info looking for cached prebuild @ /Users/jchitas/.npm/_prebuilds/6f19b1-node-pty-prebuilt-multiarch-v0.11.14-node-v131-darwin-arm64.tar.gz
prebuild-install http request GET https://github.com/homebridge/node-pty-prebuilt-multiarch/releases/download/v0.11.14/node-pty-prebuilt-multiarch-v0.11.14-node-v131-darwin-arm64.tar.gz
prebuild-install http 404 https://github.com/homebridge/node-pty-prebuilt-multiarch/releases/download/v0.11.14/node-pty-prebuilt-multiarch-v0.11.14-node-v131-darwin-arm64.tar.gz
prebuild-install warn install No prebuilt binaries found (target=23.6.1 runtime=node arch=arm64 libc= platform=darwin)
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | arm64
gyp info find Python using Python version 3.9.6 found at "/Library/Developer/CommandLineTools/usr/bin/python3"

gyp info spawn /Library/Developer/CommandLineTools/usr/bin/python3
gyp info spawn args [
gyp info spawn args '/Users/jchitas/.nvm/versions/node/v23.6.1/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/jchitas/.config/yarn/global/node_modules/@homebridge/node-pty-prebuilt-multiarch/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/jchitas/.nvm/versions/node/v23.6.1/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/jchitas/Library/Caches/node-gyp/23.6.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/jchitas/Library/Caches/node-gyp/23.6.1',
gyp info spawn args '-Dnode_gyp_dir=/Users/jchitas/.nvm/versions/node/v23.6.1/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/jchitas/Library/Caches/node-gyp/23.6.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/jchitas/.config/yarn/global/node_modules/@homebridge/node-pty-prebuilt-multiarch',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
  CXX(target) Release/obj.target/pty/src/unix/pty.o
In file included from ../src/unix/pty.cc:20:
In file included from ../../../nan/nan.h:62:
In file included from /Users/jchitas/Library/Caches/node-gyp/23.6.1/include/node/node.h:73:
In file included from /Users/jchitas/Library/Caches/node-gyp/23.6.1/include/node/v8.h:23:
In file included from /Users/jchitas/Library/Caches/node-gyp/23.6.1/include/node/cppgc/common.h:8:
/Users/jchitas/Library/Caches/node-gyp/23.6.1/include/node/v8config.h:13:2: error: "C++20 or later required."
   13 | #error "C++20 or later required."
      |  ^
../src/unix/pty.cc:536:28: warning: missing field 'filter' initializer [-Wmissing-field-initializers]
  536 |   struct kevent change = {0};
      |                            ^
../src/unix/pty.cc:556:29: warning: missing field 'filter' initializer [-Wmissing-field-initializers]
  556 |     struct kevent event = {0};
      |                             ^
2 warnings and 1 error generated.
make: *** [Release/obj.target/pty/src/unix/pty.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.<anonymous> (/Users/jchitas/.nvm/versions/node/v23.6.1/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:216:23)
gyp ERR! System Darwin 24.2.0
gyp ERR! command "/Users/jchitas/.nvm/versions/node/v23.6.1/bin/node" "/Users/jchitas/.nvm/versions/node/v23.6.1/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/jchitas/.config/yarn/global/node_modules/@homebridge/node-pty-prebuilt-multiarch
gyp ERR! node -v v23.6.1
gyp ERR! node-gyp -v v11.0.0
gyp ERR! not ok
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this c
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