Sublime Forum

Sublime won't start due to Markdown error

#1

Hi,
I am a totally newbie to sublime text2 and is experiencing an issue of sublime text 2 starting because of this error.

http://pixelignite.com/markdownerror.jpg

The cause of this can be traced back to when I tried to install the Brett Terpstra Markdown 2 plugin and it gave the error. I’ve tried installing and reinstalling it on my Windows 7 Home Premium edition but I still get the error. Can someone please help me with this?

Thanks

0 Likes

#2

Open that file in another editor (something like notepad will suffice). Remove the comma on line 9, and the problem should be solved (for now at least). You may also want to notify him to the error by creating a github issue. All of the settings files in Sublime Text are JSON. That error is telling you that the JSON parse failed. Hope that helps.

0 Likes

#3

It hasn’t work because apparently the newly updated sublime text 2 doesn’t have packages folder but have the Pristine Package instead as seen below:
http://pixelignite.com/pristinerror1.jpg

Once you open the MarkDown file, this is what I see. I don’t now comma to be deleted.
http://pixelignite.com/markdown1.jpg

Is it that I need the original folder or something? Please help

0 Likes

#4

The packages folder is not located in under program files, rather it is specific to a user. Your specific configurations are located at “%APPDATA%\Sublime Text 2\Packages”. On my machine, it is something like “C:\Users<username>\AppData\Roaming\Sublime Text 2\Packages” (replacing username with yours). You can check where %APPDATA% is pointing by executing the following command in the command prompt “echo %APPDATA%”.

0 Likes

#5

After I found the %AppData% folder by going to start -> run and type in %appdata%. It shows all the programs. I basically just deleted the sublime folder and reinstalled it successfully.

Thanks for all your help.

0 Likes