akalongman / sublimetext-codeformatter

Code Formatter plugin for ST2/ST3
MIT License
772 stars 130 forks source link

No module named 'jsbeautifier.core.acorn' #404

Closed OlivierBlomme closed 5 years ago

OlivierBlomme commented 5 years ago

I have been experiencing this issue for a couple of days now. I happens when i want to format as scss or css. The other formatters are fine. Sublime Text 3 on Ubuntu 18.04.

akalongman commented 5 years ago

@Ampretuzo is this related with https://github.com/akalongman/sublimetext-codeformatter/pull/400 ?

Ampretuzo commented 5 years ago

@akalongman it is.

jsbeautifier package upgrade introduced module refactor - that's why import fails. I fixed the import, but then something else fails (due to jsbeautifier refactor again) which might or might not be simple to fix.

I'll prepare revert PR meanwhile.

Sorry to introduce bugs in the plugin, I definitely forgot to test on css!

akalongman commented 5 years ago

@Ampretuzo no problem :)

v3nt commented 5 years ago

hello - has this been fixed at all? Still getting the error and can't format any code.

niladam commented 5 years ago

Sadly, i'm also affected by this.

dompl commented 5 years ago

Same here unfortunately. Any updates on this? Thanks

Ampretuzo commented 5 years ago

@v3nt , @niladam , @dompl I introduced this bug in #400 and it'll be resolved when revert #405 is merged.

akalongman commented 5 years ago

Merged and released as 4.3.1