atom-react
atom-react copied to clipboard
It wouldn't let me update or reinstall
Hi all,
It wouldn't let me update and reinstall the package.

Help.
Same.
Atom version?
1.22.0
1.22.0
That weird, I recommend you guys reinstalling atom.
Updating to “[email protected]” failed.Hide output…
npm WARN addRemoteGit git+https://github.com/millermedeiros/rocambole.git#1bd5044df1d6c888a1bd1b511158fb34b011e9aa resetting remote /Users/darrenlittlejohn/.atom/.apm/_git-remotes/git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85 because of error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun npm ERR! git clone --template=/Users/darrenlittlejohn/.atom/.apm/_git-remotes/_templates --mirror https://github.com/millermedeiros/rocambole.git /Users/darrenlittlejohn/.atom/.apm/_git-remotes/git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun npm ERR! Darwin 17.2.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/darrenlittlejohn/.atom/.apm/.apmrc" "--userconfig" "/Users/darrenlittlejohn/.atom/.apmrc" "install" "/private/var/folders/pb/41r96_ys73vdl38f66m9m0gm0000gn/T/d-1171015-5845-52uylj.4obmuc8fr/package.tgz" "--runtime=electron" "--target=1.6.15" "--arch=x64" "--global-style" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code 1
npm ERR! Command failed: git clone --template=/Users/darrenlittlejohn/.atom/.apm/_git-remotes/_templates --mirror https://github.com/millermedeiros/rocambole.git /Users/darrenlittlejohn/.atom/.apm/_git-remotes/git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85 npm ERR! xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun npm ERR! npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request: npm ERR! /private/var/folders/pb/41r96_ys73vdl38f66m9m0gm0000gn/T/apm-install-dir-1171015-5845-3k1qwi.l4rwuhm2t9/npm-debug.log
apm install react fails:
npm WARN addRemoteGit git+https://github.com/millermedeiros/rocambole.git#1bd5044df1d6c888a1bd1b511158fb34b011e9aa resetting remote /Users/darrenlittlejohn/.atom/.apm/_git-remotes/git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85 because of error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun npm ERR! git clone --template=/Users/darrenlittlejohn/.atom/.apm/_git-remotes/_templates --mirror https://github.com/millermedeiros/rocambole.git /Users/darrenlittlejohn/.atom/.apm/_git-remotes/git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun npm ERR! Darwin 17.2.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/darrenlittlejohn/.atom/.apm/.apmrc" "--userconfig" "/Users/darrenlittlejohn/.atom/.apmrc" "install" "/private/var/folders/pb/41r96_ys73vdl38f66m9m0gm0000gn/T/d-1171015-6396-zjdwmo.kvlpu8fr/package.tgz" "--runtime=electron" "--target=1.6.15" "--arch=x64" "--global-style" npm ERR! node v6.9.5 npm ERR! npm v3.10.10 npm ERR! code 1
npm ERR! Command failed: git clone --template=/Users/darrenlittlejohn/.atom/.apm/_git-remotes/_templates --mirror https://github.com/millermedeiros/rocambole.git /Users/darrenlittlejohn/.atom/.apm/_git-remotes/git-https-github-com-millermedeiros-rocambole-git-1bd5044df1d6c888a1bd1b511158fb34b011e9aa-af4fdf85 npm ERR! xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun npm ERR! npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request: npm ERR! cd /private/var/folders/pb/41r96_ys73vdl38f66m9m0gm0000gn/T/apm-install-dir-1171015-6396-xhz22x.knrks7zaor/npm-debug.log
same thing here.
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcru
https://apple.stackexchange.com/questions/254380/macos-sierra-invalid-active-developer-path
OK that worked. Wow. Thanks!