siliushi / VUEFormatter

formate your vue code
26 stars 5 forks source link

Not working on OS X #1

Open jernejrostan opened 7 years ago

jernejrostan commented 7 years ago

This is the error when i try to run this package Traceback (most recent call last): File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 818, in run_ return self.run(edit) File "VUEFormatter in /Users/{user}/Library/Application Support/Sublime Text 3/Installed Packages/VueFormatter.sublime-package", line 40, in run File "VUEFormatter in /Users/{user}/Library/Application Support/Sublime Text 3/Installed Packages/VueFormatter.sublime-package", line 75, in save_buffer_to_temp_file File "./python3.3/codecs.py", line 896, in open NotADirectoryError: [Errno 20] Not a directory: '/Users/{user}/Library/Application Support/Sublime Text 3/Installed Packages/VueFormatter.sublime-package/.__temp__' Package Control: No updated packages

jernejrostan commented 7 years ago

When i installed the package over git clone directly, it is working now

siliushi commented 7 years ago

i found the error, repair soon, thanks!

diachedelic commented 7 years ago

Still broken for me when I install with Sublime 3

siliushi commented 7 years ago

@diachedelic please select gitHub installation Mac

git clone https://github.com/baixuexiyang/VUEFormatter.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/VUEFormatter

Linux

git clone https://github.com/baixuexiyang/VUEFormatter.git ~/.config/sublime-text-3/Packages/VUEFormatter

Windows

git clone https://github.com/baixuexiyang/VUEFormatter.git %APPDATA%/Sublime\ Text\ 3/Packages/VUEFormatter

diachedelic commented 7 years ago

Works perfectly now! Thanks

pimboden commented 6 years ago

Works now... If using gitbash on windows the %APPDATA%" didn't get resolved.. had to write the complete path..

damarawy commented 5 years ago

I tried installing the package from Sublime but it didn't work (as mentioned above) so I did clone it from GitHub to the specified directory (for OSX). Yet I'm still unable to run the formatter because I keep getting "Node.js was not found in the default path. Please specify the location."

hjujah commented 2 years ago

For me no errors, just not doing anything... any advice? Tried both installation over package manager and by cloning...