Skip to content

Instantly share code, notes, and snippets.

@BekaValentine
Created September 30, 2018 02:34
Show Gist options
  • Select an option

  • Save BekaValentine/f0bb68843c2f5208ef7549ba73b0cd43 to your computer and use it in GitHub Desktop.

Select an option

Save BekaValentine/f0bb68843c2f5208ef7549ba73b0cd43 to your computer and use it in GitHub Desktop.
Updating to “language-agda@1.0.6” failed.Hide output…
> tree-sitter-agda@1.0.14 install /private/var/folders/96/kxbvkfwd2gg09z9zxd4_1bfc0000gn/T/apm-install-dir-118829-55630-m4g3pw.1qafumzpvi/node_modules/language-agda/node_modules/tree-sitter-agda
> node-gyp rebuild
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 "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/gyp/gyp_main.py", line 16, in <module>
sys.exit(gyp.script_main())
File "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 545, in script_main
return main(sys.argv[1:])
File "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 538, in main
return gyp_main(args)
File "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 523, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2170, in GenerateOutput
part_of_all=qualified_target in needed_targets)
File "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 795, in Write
self.Pchify))
File "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1190, in WriteSources
cflags = self.xcode_settings.GetCflags(configname)
File "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 551, in GetCflags
archs = self.GetActiveArchs(self.configname)
File "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 420, in GetActiveArchs
xcode_archs_default = GetXcodeArchsDefault()
File "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 118, in GetXcodeArchsDefault
xcode_version, _ = XcodeVersion()
File "/Applications/Atom.app/Contents/Resources/app/apm/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'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/node-gyp/lib/configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 17.7.0
gyp ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /private/var/folders/96/kxbvkfwd2gg09z9zxd4_1bfc0000gn/T/apm-install-dir-118829-55630-m4g3pw.1qafumzpvi/node_modules/language-agda/node_modules/tree-sitter-agda
gyp ERR! node -v v6.9.5
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/private/var/folders/96/kxbvkfwd2gg09z9zxd4_1bfc0000gn/T/apm-install-dir-118829-55630-m4g3pw.1qafumzpvi/package.json'
npm WARN apm-install-dir-118829-55630-m4g3pw.1qafumzpvi No description
npm WARN apm-install-dir-118829-55630-m4g3pw.1qafumzpvi No repository field.
npm WARN apm-install-dir-118829-55630-m4g3pw.1qafumzpvi No README data
npm WARN apm-install-dir-118829-55630-m4g3pw.1qafumzpvi No license field.
npm ERR! Darwin 17.7.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/beka/.atom/.apm/.apmrc" "--userconfig" "/Users/beka/.atom/.apmrc" "install" "/private/var/folders/96/kxbvkfwd2gg09z9zxd4_1bfc0000gn/T/d-118829-55630-1fwto42.sncwd5z5mi/package.tgz" "--runtime=electron" "--target=2.0.5" "--arch=x64" "--global-style"
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! tree-sitter-agda@1.0.14 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the tree-sitter-agda@1.0.14 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the tree-sitter-agda package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs tree-sitter-agda
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls tree-sitter-agda
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /private/var/folders/96/kxbvkfwd2gg09z9zxd4_1bfc0000gn/T/apm-install-dir-118829-55630-m4g3pw.1qafumzpvi/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment