Skip to content

Instantly share code, notes, and snippets.

@bobsilverberg
Created September 28, 2022 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobsilverberg/8474d6c7180a0e396ccf999a4b188f54 to your computer and use it in GitHub Desktop.
Save bobsilverberg/8474d6c7180a0e396ccf999a4b188f54 to your computer and use it in GitHub Desktop.
[4/4] 🔨 Building fresh packages...
[11/13] ⠠ node-pty
[-/13] ⠠ waiting...
[-/13] ⠠ waiting...
[-/13] ⠠ waiting...
error /Users/bsilverberg/Documents/gitRepos/addons-code-manager/node_modules/node-pty: Command failed.
Exit code: 1
Command: node scripts/install.js
Arguments:
Directory: /Users/bsilverberg/Documents/gitRepos/addons-code-manager/node_modules/node-pty
Output:
gyp info it worked if it ends with ok
gyp info using node-gyp@9.0.0
gyp info using node@16.17.0 | darwin | x64
gyp info find Python using Python version 3.6.10 found at "/Users/bsilverberg/.pyenv/versions/3.6.10/bin/python3"
gyp info spawn /Users/bsilverberg/.pyenv/versions/3.6.10/bin/python3
gyp info spawn args [
gyp info spawn args '/Users/bsilverberg/.nvm/versions/node/v16.17.0/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/bsilverberg/Documents/gitRepos/addons-code-manager/node_modules/node-pty/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/bsilverberg/.nvm/versions/node/v16.17.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/bsilverberg/Library/Caches/node-gyp/16.17.0/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/bsilverberg/Library/Caches/node-gyp/16.17.0',
gyp info spawn args '-Dnode_gyp_dir=/Users/bsilverberg/.nvm/versions/node/v16.17.0/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/bsilverberg/Library/Caches/node-gyp/16.17.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/bsilverberg/Documents/gitRepos/addons-code-manager/node_modules/node-pty',
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:58:
In file included from /Users/bsilverberg/Library/Caches/node-gyp/16.17.0/include/node/node.h:73:
In file included from /Users/bsilverberg/Library/Caches/node-gyp/16.17.0/include/node/v8.h:30:
/Users/bsilverberg/Library/Caches/node-gyp/16.17.0/include/node/v8-internal.h:492:38: error: no template named 'remove_cv_t' in namespace 'std'; did you mean 'remove_cv'?
!std::is_same<Data, std::remove_cv_t<T>>::value>::Perform(data);
~~~~~^~~~~~~~~~~
remove_cv
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:710:50: note: 'remove_cv' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_cv
^
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.onExit (/Users/bsilverberg/.nvm/versions/node/v16.17.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (node:events:513:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Darwin 20.6.0
gyp ERR! command "/Users/bsilverberg/.nvm/versions/node/v16.17.0/bin/node" "/Users/bsilverberg/.nvm/versions/node/v16.17.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/bsilverberg/Documents/gitRepos/addons-code-manager/node_modules/node-pty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment