atom-git-projects
atom-git-projects copied to clipboard
Installation error
Hello,
I get an error every time I try and install atom-git-gui in the 'Install Packages' section of Atom.
Here's the output...
> [email protected] install /private/var/folders/xw/7bhld5zx1k3c_3wxvk6rg0j40000gn/T/apm-install-dir-116912-79986-10s6zkc/node_modules/git-projects/node_modules/git-utils
> node-gyp rebuild
/private/var/folders/xw/7bhld5zx1k3c_3wxvk6rg0j40000gn/T/apm-install-dir-116912-79986-10s6zkc
`-- (empty)
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
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
gyp: No Xcode or CLT version detected!
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:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 16.0.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/xw/7bhld5zx1k3c_3wxvk6rg0j40000gn/T/apm-install-dir-116912-79986-10s6zkc/node_modules/git-projects/node_modules/git-utils
gyp ERR! node -v v4.4.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/xw/7bhld5zx1k3c_3wxvk6rg0j40000gn/T/apm-install-dir-116912-79986-10s6zkc/package.json'
npm WARN apm-install-dir-116912-79986-10s6zkc No description
npm WARN apm-install-dir-116912-79986-10s6zkc No repository field.
npm WARN apm-install-dir-116912-79986-10s6zkc No README data
npm WARN apm-install-dir-116912-79986-10s6zkc No license field.
npm ERR! Darwin 16.0.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/elliottmangham/.atom/.apm/.apmrc" "--userconfig" "/Users/elliottmangham/.atom/.apmrc" "install" "/private/var/folders/xw/7bhld5zx1k3c_3wxvk6rg0j40000gn/T/d-116912-79986-1lgqcs9/package.tgz" "--runtime=electron" "--target=0.37.8" "--arch=x64" "--global-style"
npm ERR! node v4.4.5
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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 git-utils 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 git-utils
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls git-utils
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/xw/7bhld5zx1k3c_3wxvk6rg0j40000gn/T/apm-install-dir-116912-79986-10s6zkc/npm-debug.log
npm ERR! code 1
Kind regards
You need to install xcode. You can get it from the Mac App Store.