Ciasto piekarz
Ciasto piekarz

Reputation: 8277

sublime package error on startup

I am getting error saying :

Package Control

Error executing: /usr/bin/git symbolic-ref -q HEAD

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

VCS-based packages can be ignored with the "ignore_vcs_packages" setting

every time i sart my sublime, How do I use ignore_vcs_packages ? as mentioned in last line of error message.

Upvotes: 3

Views: 901

Answers (1)

OdatNurd
OdatNurd

Reputation: 22791

Select Sublime Text > Preferences > Package Settings > Package Control > Settings - User to open you the Package Control settings.

Inside that file, add the setting:

"ignore_vcs_packages": true

The configuration file is a JSON file, so make sure that all settings are separated with commas.

This setting can be set to either an array of package names if you want to ignore only certain packages, or the boolean value true to ignore all packages. Since your problem is that you don't have git installed, you probably want to go with the boolean version.

You can fix the underlying error by installing the XCode command line tools, which will net you the git command. See for example this question.

Upvotes: 5

Related Questions