bash ./install-faceshift.sh
[FACESHIFT] Installing faceshift pre-requisites
[FACESHIFT] Installing homebrew
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
Press RETURN to continue or any other key to abort
==> Downloading and installing Homebrew...
HEAD is now at 417a16fba Merge pull request #5718 from mtmiller/update-cmd-opts
Already up-to-date.
==> Installation successful!
==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics
Further documentation:
https://docs.brew.sh
[FACESHIFT] Installing python
Warning: python@2 2.7.16 is already installed and up-to-date
To reinstall 2.7.16, run brew reinstall python@2
[FACESHIFT] Installing npm
Warning: node 11.11.0 is already installed and up-to-date
To reinstall 11.11.0, run brew reinstall node
[FACESHIFT] Installing yarn
Warning: yarn 1.15.2 is already installed and up-to-date
To reinstall 1.15.2, run brew reinstall yarn
[FACESHIFT] Installing electron
yarn global v1.15.2
[1/4] π Resolving packages...
[2/4] π Fetching packages...
[3/4] π Linking dependencies...
[4/4] π¨ Building fresh packages...
success Installed "electron@4.1.0" with binaries:
electron
β¨ Done in 2.15s.
[FACESHIFT] Installing sox
Warning: sox 14.4.2_3 is already installed and up-to-date
To reinstall 14.4.2_3, run brew reinstall sox
[FACESHIFT] Setting environment variables
[FACESHIFT] Installing npm dependencies with yarn
yarn install v1.15.2
[1/4] π Resolving packages...
[2/4] π Fetching packages...
[3/4] π Linking dependencies...
warning " > material-ui@0.20.0" has incorrect peer dependency "react@^15.4.0 || ^16.0.0".
warning " > material-ui@0.20.0" has incorrect peer dependency "react-dom@^15.4.0 || ^16.0.0".
warning "material-ui > react-event-listener@0.5.3" has incorrect peer dependency "react@^15.3.0 || ^16.0.0".
warning "material-ui > react-transition-group@1.2.1" has incorrect peer dependency "react@^15.0.0 || ^16.0.0".
warning "material-ui > react-transition-group@1.2.1" has incorrect peer dependency "react-dom@^15.0.0 || ^16.0.0".
warning " > watch-ignore-webpack-plugin@1.0.0" has incorrect peer dependency "webpack@1.5.x".
[4/4] π¨ Building fresh packages...
[-/5] β‘ waiting...
[-/5] β‘ waiting...
[3/5] β‘ snowboy
[4/5] β‘ robotjs
warning Error running install script for optional dependency: "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents: Command failed.
Exit code: 1
Command: node install
Arguments:
Directory: /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.6.39
node-pre-gyp info using node@11.11.0 | darwin | x64
node-pre-gyp info check checked for \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node\" (not found)
node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v67-darwin-x64.tar.gz
node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.3 and node@11.11.0 (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.3 and node@11.11.0 (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
gyp info it worked if it ends with ok
gypgyp info using node-gyp@3.6.2
gyp info using node@11.11.0 | darwin | x64
info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@11.11.0 | darwin | x64
gypgyp info infook
ok
gypgyp info it worked if it ends with ok
info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@11.11.0 | darwin | x64
gyp info using node-gyp@3.6.2
gyp info using node@11.11.0 | darwin | x64
gypgyp info spawninfo /usr/bin/python
spawn /usr/bin/python
gyp infogyp spawn args [ '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py',
gyp infoinfo spawn argsspawn args 'binding.gyp',
[ '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py',
gypgyp info spawn argsinfo 'binding.gyp',
gypspawn args '-f',
infogyp spawn argsinfo '-f',
gypspawn args 'make',
infogyp spawn argsinfo 'make',
gypspawn args '-I',
infogyp spawn argsinfo '-I',
gypspawn args info '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/build/config.gypi',
gypspawn args '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/build/config.gypi',
gyp infoinfo spawn args '-I',
spawn argsgyp '-I',
gypinfo infospawn args '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/addon.gypi',
spawn argsgyp '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/addon.gypi',
gypinfo spawn argsinfo '-I',
gypspawn args '-I',
infogyp spawn argsinfo '/Users/mac-12/.node-gyp/11.11.0/include/node/common.gypi',
gypspawn args '/Users/mac-12/.node-gyp/11.11.0/include/node/common.gypi',
infogyp spawn argsinfo '-Dlibrary=shared_library',
gypspawn args '-Dlibrary=shared_library',
gypinfo infospawn args '-Dvisibility=default',
gyp spawn argsinfo '-Dvisibility=default',
spawn argsgyp '-Dnode_root_dir=/Users/mac-12/.node-gyp/11.11.0',
gypinfo infospawn args '-Dnode_root_dir=/Users/mac-12/.node-gyp/11.11.0',
spawn argsgyp '-Dnode_gyp_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp',
gypinfo infospawn args '-Dnode_gyp_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp',
spawn argsgyp '-Dnode_lib_file=/Users/mac-12/.node-gyp/11.11.0/<(target_arch)/node.lib',
gypinfo infospawn args '-Dnode_lib_file=/Users/mac-12/.node-gyp/11.11.0/<(target_arch)/node.lib',
spawn argsgyp '-Dmodule_root_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents',
gyp info infospawn args '-Dmodule_root_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents',
spawn argsgyp '-Dnode_engine=v8',
gypinfo info spawn argsspawn args '--depth=.',
'-Dnode_engine=v8',
gypgyp infoinfo spawn argsspawn args '--depth=.',
gyp '--no-parallel',
gypinfo infospawn args '--no-parallel',
spawn args '--generator-output',
gypgyp infoinfo spawn argsspawn args 'build',
'--generator-output',
gypgyp infoinfo spawn argsspawn args '-Goutput_dir=.' ]
'build',
gyp info spawn args '-Goutput_dir=.' ]
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Traceback (most recent call last):
Traceback (most recent call last):
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py\", line 16, in
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py\", line 16, in
sys.exit(gyp.script_main())
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py\", line 545, in script_main
sys.exit(gyp.script_main())
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py\", line 545, in script_main
return main(sys.argv[1:])
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py\", line 538, in main
return main(sys.argv[1:])
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py\", line 538, in main
return gyp_main(args)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py\", line 523, in gyp_main
return gyp_main(args)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py\", line 523, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 2170, in GenerateOutput
generator.GenerateOutput(flat_list, targets, data, params)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 2170, in GenerateOutput
part_of_all=qualified_target in needed_targets)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 795, in Write
part_of_all=qualified_target in needed_targets)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 795, in Write
self.Pchify))
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 1190, in WriteSources
self.Pchify))
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 1190, in WriteSources
cflags = self.xcode_settings.GetCflags(configname)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 551, in GetCflags
cflags = self.xcode_settings.GetCflags(configname)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 551, in GetCflags
archs = self.GetActiveArchs(self.configname)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 420, in GetActiveArchs
archs = self.GetActiveArchs(self.configname)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 420, in GetActiveArchs
xcode_archs_default = GetXcodeArchsDefault()
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 118, in GetXcodeArchsDefault
xcode_archs_default = GetXcodeArchsDefault()
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 118, in GetXcodeArchsDefault
xcodeversion, = XcodeVersion()
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 1265, in XcodeVersion
xcodeversion, = XcodeVersion()
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 1265, in XcodeVersion
version = re.match(r'(\d\.\d\.?\d)', version).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
version = re.match(r'(\d\.\d\.?\d)', version).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
gypgyp ERR! configure error
ERR! configure error
gyp ERR! gypstack Error: gyp failed with exit code: 1
ERR!gyp stackERR! Error: gyp failed with exit code: 1
stackgyp at ChildProcess.onCpExit (/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/lib/configure.js:336:16)
gypERR! ERR!stack at ChildProcess.onCpExit (/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/lib/configure.js:336:16)
gypstack at ChildProcess.emit (events.js:197:13)
gypERR! ERR!stack at ChildProcess.emit (events.js:197:13)
gypstack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! Systemgyp Darwin 18.2.0
ERR! System Darwin 18.2.0
gyp gyp ERR!ERR! command \"/usr/local/Cellar/node/11.11.0/bin/node\" \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/bin/node-gyp.js\" \"configure\" \"--fallback-to-build\" \"--module=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64\" \"--python=/usr/bin/python\"
commandgyp \"/usr/local/Cellar/node/11.11.0/bin/node\" \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/bin/node-gyp.js\" \"configure\" \"--fallback-to-build\" \"--module=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64\" \"--python=/usr/bin/python\"
ERR! gypcwd /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents
ERR! gypcwd /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents
ERR! node -vgyp v11.11.0
gypERR! ERR!node -v v11.11.0
node-gyp -v v3.6.2
gypgyp ERR!ERR! node-gyp -vnot ok v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/11.11.0/bin/node /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node --module_name=fse --module_path=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64 --python=/usr/bin/python' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:197:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:984:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
node-pre-gyp ERR! System Darwin 18.2.0
node-pre-gyp ERR! command \"/usr/local/Cellar/node/11.11.0/bin/node\" \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents
node-pre-gyp ERR! node -v v11.11.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
[-/5] β waiting...
[-/5] β waiting...
[3/5] β snowboy
[4/5] β robotjs
error /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.6.39
node-pre-gyp info using node@11.11.0 | darwin | x64
node-pre-gyp info check checked for "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/lib/node/binding/Release/node-v67-darwin-x64/snowboy.node" (not found)
node-pre-gyp http GET https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v67-darwin-x64.tar.gz
node-pre-gyp http 403 https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(403): https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.2.0 and node@11.11.0 (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(undefined): https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.2.0 and node@11.11.0 (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@11.11.0 | darwin | x64
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@11.11.0 | darwin | x64
gyp info ok
gyp info ok
gyp info it worked if it ends with ok
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@11.11.0 | darwin | x64
gyp info using node-gyp@3.6.2
gyp info using node@11.11.0 | darwin | x64
gypgyp info spawn /usr/bin/python
info spawn /usr/bin/python
gyp infogyp spawn argsinfo [ '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py',
gyp spawn argsinfo [ '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py',
gypspawn args 'binding.gyp',
infogyp spawn argsinfo 'binding.gyp',
gypspawn args '-f',
infogyp spawn argsinfo '-f',
gypspawn args 'make',
gyp infoinfo spawn argsspawn args '-I',
'make',
gypgyp infoinfo spawn argsspawn args '-I',
'/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/build/config.gypi',
gypgyp infoinfo spawn argsspawn args '-I',
'/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/build/config.gypi',
gypgyp infoinfo spawn args spawn args '-I',
'/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/addon.gypi',
gypgyp infoinfo spawn argsspawn args '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/addon.gypi',
'-I',
gypgyp infoinfo spawn argsspawn args '-I',
'/Users/mac-12/.node-gyp/11.11.0/include/node/common.gypi',
gypgyp infoinfo spawn argsspawn args '/Users/mac-12/.node-gyp/11.11.0/include/node/common.gypi',
'-Dlibrary=shared_library',
gypgyp infoinfo spawn argsspawn args '-Dlibrary=shared_library',
'-Dvisibility=default',
gypgyp infoinfo spawn argsspawn args '-Dvisibility=default',
'-Dnode_root_dir=/Users/mac-12/.node-gyp/11.11.0',
gypgyp infoinfo spawn argsspawn args '-Dnode_root_dir=/Users/mac-12/.node-gyp/11.11.0',
'-Dnode_gyp_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp',
gypgyp infoinfo spawn argsspawn args '-Dnode_gyp_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp',
'-Dnode_lib_file=/Users/mac-12/.node-gyp/11.11.0/<(target_arch)/node.lib',
gypgyp infoinfo spawn argsspawn args '-Dnode_lib_file=/Users/mac-12/.node-gyp/11.11.0/<(target_arch)/node.lib',
'-Dmodule_root_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy',
gypgyp infoinfo spawn argsspawn args '-Dmodule_root_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy',
'-Dnode_engine=v8',
gypgyp infoinfo spawn argsspawn args '-Dnode_engine=v8',
'--depth=.',
gypgyp infoinfo spawn argsspawn args '--depth=.',
'--no-parallel',
gypgyp infoinfo spawn argsspawn args '--no-parallel',
'--generator-output',
gypgyp infoinfo spawn argsspawn args '--generator-output',
'build',
gypgyp infoinfo spawn argsspawn args 'build',
'-Goutput_dir=.' ]
gyp info spawn args '-Goutput_dir=.' ]
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Traceback (most recent call last):
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py", line 16, in
Traceback (most recent call last):
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py", line 16, in
sys.exit(gyp.script_main())
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 545, in script_main
sys.exit(gyp.script_main())
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 545, in script_main
return main(sys.argv[1:])
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 538, in main
return main(sys.argv[1:])
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 538, in main
return gyp_main(args)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 523, in gyp_main
return gyp_main(args)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 523, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2170, in GenerateOutput
generator.GenerateOutput(flat_list, targets, data, params)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2170, in GenerateOutput
part_of_all=qualified_target in needed_targets)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 795, in Write
part_of_all=qualified_target in needed_targets)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 795, in Write
self.Pchify))
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1190, in WriteSources
self.Pchify))
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1190, in WriteSources
cflags = self.xcode_settings.GetCflags(configname)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 551, in GetCflags
cflags = self.xcode_settings.GetCflags(configname)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 551, in GetCflags
archs = self.GetActiveArchs(self.configname)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 420, in GetActiveArchs
archs = self.GetActiveArchs(self.configname)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 420, in GetActiveArchs
xcode_archs_default = GetXcodeArchsDefault()
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 118, in GetXcodeArchsDefault
xcode_archs_default = GetXcodeArchsDefault()
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 118, in GetXcodeArchsDefault
xcodeversion, = XcodeVersion()
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1265, in XcodeVersion
xcodeversion, = XcodeVersion()
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1265, in XcodeVersion
version = re.match(r'(\d.\d.?\d)', version).groups()[0]
AttributeError version = re.match(r'(\d.\d.?\d)', version).groups()[0]
AttributeError: : 'NoneType' object has no attribute 'groups''NoneType' object has no attribute 'groups'
gypgyp ERR! configure errorERR! configure error
gypgyp ERR!ERR! stackstack Error: gyp failed with exit code: 1
Error: gyp failed with exit code: 1
gypgyp ERR!ERR! stackstack at ChildProcess.onCpExit (/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/lib/configure.js:336:16)
at ChildProcess.onCpExit (/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/lib/configure.js:336:16)
gypgyp ERR!ERR! stackstack at ChildProcess.emit (events.js:197:13)
at ChildProcess.emit (events.js:197:13)
gypgyp ERR!ERR! stackstack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gypgyp ERR!ERR! SystemSystem Darwin 18.2.0
Darwin 18.2.0
gypgyp ERR! ERR!command "/usr/local/Cellar/node/11.11.0/bin/node" "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/lib/node/binding/Release/node-v67-darwin-x64/snowboy.node" "--module_name=snowboy" "--module_path=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/lib/node/binding/Release/node-v67-darwin-x64" "--python=/usr/bin/python"
commandgyp "/usr/local/Cellar/node/11.11.0/bin/node" "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/lib/node/binding/Release/node-v67-darwin-x64/snowboy.node" "--module_name=snowboy" "--module_path=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/lib/node/binding/Release/node-v67-darwin-x64" "--python=/usr/bin/python"
ERR! gypcwd /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy
ERR! gypcwd /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy
gypERR! node -vERR! v11.11.0
node -vgyp v11.11.0
ERR!gyp node-gyp -vERR! v3.6.2
node-gyp -vgyp v3.6.2
ERR!gyp not okERR!
not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/11.11.0/bin/node /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/lib/node/binding/Release/node-v67-darwin-x64/snowboy.node --module_name=snowboy --module_path=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/lib/node/binding/Release/node-v67-darwin-x64 --python=/usr/bin/python' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:197:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:984:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
node-pre-gyp ERR! System Darwin 18.2.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/11.11.0/bin/node" "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy
node-pre-gyp ERR! node -v v11.11.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
[FACESHIFT] FaceShift installed! Run the command 'yarn watch' in terminal with the working directory set to the installing folder of faceshift
[FACESHIFT] In another terminal window, navigate to the faceshift installation directory and run the command 'yarn start-mac'
bash ./install-faceshift.sh [FACESHIFT] Installing faceshift pre-requisites [FACESHIFT] Installing homebrew ==> This script will install: /usr/local/bin/brew /usr/local/share/doc/homebrew /usr/local/share/man/man1/brew.1 /usr/local/share/zsh/site-functions/_brew /usr/local/etc/bash_completion.d/brew /usr/local/Homebrew
Press RETURN to continue or any other key to abort ==> Downloading and installing Homebrew... HEAD is now at 417a16fba Merge pull request #5718 from mtmiller/update-cmd-opts Already up-to-date. ==> Installation successful!
==> Homebrew has enabled anonymous aggregate formulae and cask analytics. Read the analytics documentation (and how to opt-out) here: https://docs.brew.sh/Analytics
==> Homebrew is run entirely by unpaid volunteers. Please consider donating: https://github.com/Homebrew/brew#donations ==> Next steps:
brew help
to get startedbrew reinstall python@2
[FACESHIFT] Installing npm Warning: node 11.11.0 is already installed and up-to-date To reinstall 11.11.0, runbrew reinstall node
[FACESHIFT] Installing yarn Warning: yarn 1.15.2 is already installed and up-to-date To reinstall 1.15.2, runbrew reinstall yarn
[FACESHIFT] Installing electron yarn global v1.15.2 [1/4] π Resolving packages... [2/4] π Fetching packages... [3/4] π Linking dependencies... [4/4] π¨ Building fresh packages... success Installed "electron@4.1.0" with binaries:brew reinstall sox
[FACESHIFT] Setting environment variables [FACESHIFT] Installing npm dependencies with yarn yarn install v1.15.2 [1/4] π Resolving packages... [2/4] π Fetching packages... [3/4] π Linking dependencies... warning " > material-ui@0.20.0" has incorrect peer dependency "react@^15.4.0 || ^16.0.0". warning " > material-ui@0.20.0" has incorrect peer dependency "react-dom@^15.4.0 || ^16.0.0". warning "material-ui > react-event-listener@0.5.3" has incorrect peer dependency "react@^15.3.0 || ^16.0.0". warning "material-ui > react-transition-group@1.2.1" has incorrect peer dependency "react@^15.0.0 || ^16.0.0". warning "material-ui > react-transition-group@1.2.1" has incorrect peer dependency "react-dom@^15.0.0 || ^16.0.0". warning " > watch-ignore-webpack-plugin@1.0.0" has incorrect peer dependency "webpack@1.5.x". [4/4] π¨ Building fresh packages... [-/5] β‘ waiting... [-/5] β‘ waiting... [3/5] β‘ snowboy [4/5] β‘ robotjs warning Error running install script for optional dependency: "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents: Command failed. Exit code: 1 Command: node install Arguments: Directory: /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents Output: node-pre-gyp info it worked if it ends with ok node-pre-gyp info using node-pre-gyp@0.6.39 node-pre-gyp info using node@11.11.0 | darwin | x64 node-pre-gyp info check checked for \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node\" (not found) node-pre-gyp http GET https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v67-darwin-x64.tar.gz node-pre-gyp http 404 https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v67-darwin-x64.tar.gz node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v67-darwin-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.3 and node@11.11.0 (node-v67 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp http 404 status code downloading tarball https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v67-darwin-x64.tar.gz node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v67-darwin-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.1.3 and node@11.11.0 (node-v67 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp http Connection closed while downloading tarball file gyp info it worked if it ends with ok gypgyp info using node-gyp@3.6.2 gyp info using node@11.11.0 | darwin | x64 info it worked if it ends with ok gyp info using node-gyp@3.6.2 gyp info using node@11.11.0 | darwin | x64 gypgyp info infookok gypgyp info it worked if it ends with ok info it worked if it ends with ok gyp info using node-gyp@3.6.2 gyp info using node@11.11.0 | darwin | x64 gyp info using node-gyp@3.6.2 gyp info using node@11.11.0 | darwin | x64 gypgyp info spawninfo /usr/bin/python spawn /usr/bin/python gyp infogyp spawn args [ '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py', gyp infoinfo spawn argsspawn args 'binding.gyp', [ '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py', gypgyp info spawn argsinfo 'binding.gyp', gypspawn args '-f', infogyp spawn argsinfo '-f', gypspawn args 'make', infogyp spawn argsinfo 'make', gypspawn args '-I', infogyp spawn argsinfo '-I', gypspawn args info '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/build/config.gypi', gypspawn args '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/build/config.gypi', gyp infoinfo spawn args '-I', spawn argsgyp '-I', gypinfo infospawn args '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/addon.gypi', spawn argsgyp '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/addon.gypi', gypinfo spawn argsinfo '-I', gypspawn args '-I', infogyp spawn argsinfo '/Users/mac-12/.node-gyp/11.11.0/include/node/common.gypi', gypspawn args '/Users/mac-12/.node-gyp/11.11.0/include/node/common.gypi', infogyp spawn argsinfo '-Dlibrary=shared_library', gypspawn args '-Dlibrary=shared_library', gypinfo infospawn args '-Dvisibility=default', gyp spawn argsinfo '-Dvisibility=default', spawn argsgyp '-Dnode_root_dir=/Users/mac-12/.node-gyp/11.11.0', gypinfo infospawn args '-Dnode_root_dir=/Users/mac-12/.node-gyp/11.11.0', spawn argsgyp '-Dnode_gyp_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp', gypinfo infospawn args '-Dnode_gyp_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp', spawn argsgyp '-Dnode_lib_file=/Users/mac-12/.node-gyp/11.11.0/<(target_arch)/node.lib', gypinfo infospawn args '-Dnode_lib_file=/Users/mac-12/.node-gyp/11.11.0/<(target_arch)/node.lib', spawn argsgyp '-Dmodule_root_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents', gyp info infospawn args '-Dmodule_root_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents', spawn argsgyp '-Dnode_engine=v8', gypinfo info spawn argsspawn args '--depth=.', '-Dnode_engine=v8', gypgyp infoinfo spawn argsspawn args '--depth=.', gyp '--no-parallel', gypinfo infospawn args '--no-parallel', spawn args '--generator-output', gypgyp infoinfo spawn argsspawn args 'build', '--generator-output', gypgyp infoinfo spawn argsspawn args '-Goutput_dir=.' ] 'build', gyp info spawn args '-Goutput_dir=.' ] xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Traceback (most recent call last): Traceback (most recent call last): File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py\", line 16, in
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py\", line 16, in
sys.exit(gyp.script_main())
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py\", line 545, in script_main
sys.exit(gyp.script_main())
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py\", line 545, in script_main
return main(sys.argv[1:])
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py\", line 538, in main
return main(sys.argv[1:])
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py\", line 538, in main
return gyp_main(args)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py\", line 523, in gyp_main
return gyp_main(args)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py\", line 523, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 2170, in GenerateOutput
generator.GenerateOutput(flat_list, targets, data, params)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 2170, in GenerateOutput
part_of_all=qualified_target in needed_targets)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 795, in Write
part_of_all=qualified_target in needed_targets)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 795, in Write
self.Pchify))
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 1190, in WriteSources
self.Pchify))
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py\", line 1190, in WriteSources
cflags = self.xcode_settings.GetCflags(configname)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 551, in GetCflags
cflags = self.xcode_settings.GetCflags(configname)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 551, in GetCflags
archs = self.GetActiveArchs(self.configname)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 420, in GetActiveArchs
archs = self.GetActiveArchs(self.configname)
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 420, in GetActiveArchs
xcode_archs_default = GetXcodeArchsDefault()
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 118, in GetXcodeArchsDefault
xcode_archs_default = GetXcodeArchsDefault()
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 118, in GetXcodeArchsDefault
xcodeversion, = XcodeVersion()
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 1265, in XcodeVersion
xcodeversion, = XcodeVersion()
File \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py\", line 1265, in XcodeVersion
version = re.match(r'(\d\.\d\.?\d)', version).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
version = re.match(r'(\d\.\d\.?\d)', version).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'
gypgyp ERR! configure error
ERR! configure error
gyp ERR! gypstack Error:
gyp
failed with exit code: 1 ERR!gyp stackERR! Error:gyp
failed with exit code: 1 stackgyp at ChildProcess.onCpExit (/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/lib/configure.js:336:16) gypERR! ERR!stack at ChildProcess.onCpExit (/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/lib/configure.js:336:16) gypstack at ChildProcess.emit (events.js:197:13) gypERR! ERR!stack at ChildProcess.emit (events.js:197:13) gypstack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12) ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12) gyp ERR! Systemgyp Darwin 18.2.0 ERR! System Darwin 18.2.0 gyp gyp ERR!ERR! command \"/usr/local/Cellar/node/11.11.0/bin/node\" \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/bin/node-gyp.js\" \"configure\" \"--fallback-to-build\" \"--module=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64\" \"--python=/usr/bin/python\" commandgyp \"/usr/local/Cellar/node/11.11.0/bin/node\" \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/bin/node-gyp.js\" \"configure\" \"--fallback-to-build\" \"--module=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node\" \"--module_name=fse\" \"--module_path=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64\" \"--python=/usr/bin/python\" ERR! gypcwd /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents ERR! gypcwd /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents ERR! node -vgyp v11.11.0 gypERR! ERR!node -v v11.11.0 node-gyp -v v3.6.2 gypgyp ERR!ERR! node-gyp -vnot ok v3.6.2gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/11.11.0/bin/node /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64/fse.node --module_name=fse --module_path=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/lib/binding/Release/node-v67-darwin-x64 --python=/usr/bin/python' (1) node-pre-gyp ERR! stack at ChildProcess. (/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:197:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:984:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
node-pre-gyp ERR! System Darwin 18.2.0
node-pre-gyp ERR! command \"/usr/local/Cellar/node/11.11.0/bin/node\" \"/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"
node-pre-gyp ERR! cwd /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/fsevents
node-pre-gyp ERR! node -v v11.11.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
[-/5] β waiting...
[-/5] β waiting...
[3/5] β snowboy
[4/5] β robotjs
error /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@0.6.39
node-pre-gyp info using node@11.11.0 | darwin | x64
node-pre-gyp info check checked for "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/lib/node/binding/Release/node-v67-darwin-x64/snowboy.node" (not found)
node-pre-gyp http GET https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v67-darwin-x64.tar.gz
node-pre-gyp http 403 https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(403): https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.2.0 and node@11.11.0 (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http 403 status code downloading tarball https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Tried to download(undefined): https://snowboy-release-node.s3-us-west-2.amazonaws.com/snowboy/v1.2.0/Release/snowboy-v1.2.0-node-v67-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for snowboy@1.2.0 and node@11.11.0 (node-v67 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp http Connection closed while downloading tarball file
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@11.11.0 | darwin | x64
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@11.11.0 | darwin | x64
gyp info ok
gyp info ok
gyp info it worked if it ends with ok
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@11.11.0 | darwin | x64
gyp info using node-gyp@3.6.2
gyp info using node@11.11.0 | darwin | x64
gypgyp info spawn /usr/bin/python
info spawn /usr/bin/python
gyp infogyp spawn argsinfo [ '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py',
gyp spawn argsinfo [ '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py',
gypspawn args 'binding.gyp',
infogyp spawn argsinfo 'binding.gyp',
gypspawn args '-f',
infogyp spawn argsinfo '-f',
gypspawn args 'make',
gyp infoinfo spawn argsspawn args '-I',
'make',
gypgyp infoinfo spawn argsspawn args '-I',
'/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/build/config.gypi',
gypgyp infoinfo spawn argsspawn args '-I',
'/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/build/config.gypi',
gypgyp infoinfo spawn args spawn args '-I',
'/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/addon.gypi',
gypgyp infoinfo spawn argsspawn args '/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/addon.gypi',
'-I',
gypgyp infoinfo spawn argsspawn args '-I',
'/Users/mac-12/.node-gyp/11.11.0/include/node/common.gypi',
gypgyp infoinfo spawn argsspawn args '/Users/mac-12/.node-gyp/11.11.0/include/node/common.gypi',
'-Dlibrary=shared_library',
gypgyp infoinfo spawn argsspawn args '-Dlibrary=shared_library',
'-Dvisibility=default',
gypgyp infoinfo spawn argsspawn args '-Dvisibility=default',
'-Dnode_root_dir=/Users/mac-12/.node-gyp/11.11.0',
gypgyp infoinfo spawn argsspawn args '-Dnode_root_dir=/Users/mac-12/.node-gyp/11.11.0',
'-Dnode_gyp_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp',
gypgyp infoinfo spawn argsspawn args '-Dnode_gyp_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp',
'-Dnode_lib_file=/Users/mac-12/.node-gyp/11.11.0/<(target_arch)/node.lib',
gypgyp infoinfo spawn argsspawn args '-Dnode_lib_file=/Users/mac-12/.node-gyp/11.11.0/<(target_arch)/node.lib',
'-Dmodule_root_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy',
gypgyp infoinfo spawn argsspawn args '-Dmodule_root_dir=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy',
'-Dnode_engine=v8',
gypgyp infoinfo spawn argsspawn args '-Dnode_engine=v8',
'--depth=.',
gypgyp infoinfo spawn argsspawn args '--depth=.',
'--no-parallel',
gypgyp infoinfo spawn argsspawn args '--no-parallel',
'--generator-output',
gypgyp infoinfo spawn argsspawn args '--generator-output',
'build',
gypgyp infoinfo spawn argsspawn args 'build',
'-Goutput_dir=.' ]
gyp info spawn args '-Goutput_dir=.' ]
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
Traceback (most recent call last): File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py", line 16, in
Traceback (most recent call last):
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/gyp_main.py", line 16, in
sys.exit(gyp.script_main())
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 545, in script_main
sys.exit(gyp.script_main())
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 545, in script_main
return main(sys.argv[1:])
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 538, in main
return main(sys.argv[1:])
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 538, in main
return gyp_main(args)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 523, in gyp_main
return gyp_main(args)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 523, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2170, in GenerateOutput
generator.GenerateOutput(flat_list, targets, data, params)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2170, in GenerateOutput
part_of_all=qualified_target in needed_targets)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 795, in Write
part_of_all=qualified_target in needed_targets)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 795, in Write
self.Pchify))
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1190, in WriteSources
self.Pchify))
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1190, in WriteSources
cflags = self.xcode_settings.GetCflags(configname)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 551, in GetCflags
cflags = self.xcode_settings.GetCflags(configname)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 551, in GetCflags
archs = self.GetActiveArchs(self.configname)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 420, in GetActiveArchs
archs = self.GetActiveArchs(self.configname)
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 420, in GetActiveArchs
xcode_archs_default = GetXcodeArchsDefault()
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 118, in GetXcodeArchsDefault
xcode_archs_default = GetXcodeArchsDefault()
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 118, in GetXcodeArchsDefault
xcodeversion, = XcodeVersion()
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1265, in XcodeVersion
xcodeversion, = XcodeVersion()
File "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1265, in XcodeVersion
version = re.match(r'(\d.\d.?\d)', version).groups()[0]
AttributeError version = re.match(r'(\d.\d.?\d)', version).groups()[0]
AttributeError: : 'NoneType' object has no attribute 'groups''NoneType' object has no attribute 'groups'
gypgyp ERR! configure errorERR! configure error
gypgyp ERR!ERR! stackstack Error: (/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:197:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:984:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
node-pre-gyp ERR! System Darwin 18.2.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/11.11.0/bin/node" "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy
node-pre-gyp ERR! node -v v11.11.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
gyp
failed with exit code: 1 Error:gyp
failed with exit code: 1 gypgyp ERR!ERR! stackstack at ChildProcess.onCpExit (/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/lib/configure.js:336:16) at ChildProcess.onCpExit (/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/lib/configure.js:336:16) gypgyp ERR!ERR! stackstack at ChildProcess.emit (events.js:197:13) at ChildProcess.emit (events.js:197:13) gypgyp ERR!ERR! stackstack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12) at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12) gypgyp ERR!ERR! SystemSystem Darwin 18.2.0 Darwin 18.2.0 gypgyp ERR! ERR!command "/usr/local/Cellar/node/11.11.0/bin/node" "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/lib/node/binding/Release/node-v67-darwin-x64/snowboy.node" "--module_name=snowboy" "--module_path=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/lib/node/binding/Release/node-v67-darwin-x64" "--python=/usr/bin/python" commandgyp "/usr/local/Cellar/node/11.11.0/bin/node" "/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/lib/node/binding/Release/node-v67-darwin-x64/snowboy.node" "--module_name=snowboy" "--module_path=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/lib/node/binding/Release/node-v67-darwin-x64" "--python=/usr/bin/python" ERR! gypcwd /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy ERR! gypcwd /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy gypERR! node -vERR! v11.11.0 node -vgyp v11.11.0 ERR!gyp node-gyp -vERR! v3.6.2 node-gyp -vgyp v3.6.2 ERR!gyp not okERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/11.11.0/bin/node /Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/lib/node/binding/Release/node-v67-darwin-x64/snowboy.node --module_name=snowboy --module_path=/Users/mac-12/Documents/FACESHIFT/faceshift/node_modules/snowboy/lib/node/binding/Release/node-v67-darwin-x64 --python=/usr/bin/python' (1) node-pre-gyp ERR! stack at ChildProcess.[FACESHIFT] FaceShift installed! Run the command 'yarn watch' in terminal with the working directory set to the installing folder of faceshift [FACESHIFT] In another terminal window, navigate to the faceshift installation directory and run the command 'yarn start-mac'