Closed pixelass closed 8 years ago
Do you get any errors in the console ? (you can open that by pressing `Ctrl + ``) Also can you try to uninstall and install again ?
If it's not fixed please provide more info about your environment (OS, ST version).
no errors in console. ST: Build 3083 OS: OS X 10.10.4
EDIT: first thing I tried was remove and add package
what is your nodejs installed version ? node -v
My home pc is currently on 0.12.7 so all the packages installed should work on that.
v2.3.0
Is that iojs ? Can you try installing the latest stable version or nodejs https://nodejs.org/en/ ?
Same here. I use node installed with nvm (0.12.0)
if that matters
Sadly uninstalling/installing didn't fix the issue, and console shows no errors
It is actually weird, I uninstalled and installed it again and the user settings
were still the old user settings
. It seems that if there were some plugins there, the update remove them, installing the plugins again made things to work again for me, but still errors were not shown
@royriojas is it working for you now? what did you change?
hi @pixelass
esformatter-jsx
, esformatter-quotes
, etc... following this guide: https://github.com/royriojas/esformatter-jsx/wiki/Usage-with-jsfmtAnd run the command from inside sublime and it was working again
I have downgraded the get-stdin package, it should now work as before in the 1.0.9 release It should be in the package control in a few hours.
@pixelass can you please check if everything works for you ?
@ionutvmi Yesterday it stop working for me again, and after redo the steps I did before I also have to modify the path to nodejs.
I guess that something changed in the code in the way jsfmt
is detecting the node binary in osx. Since I installed node using nvm the node version in my current path was different from the one detected by jsfmt
. And it fails trying to use the Global Promise not available in the version of node detected. Probably downgrading get-stdin
package will fix this issue, but in the meantime using a version of node that include the global Promise object will help as well (like node v0.12.0
)
yes, get-stdin was the problem as it required node >= 0.12, I see the new version is already on package control so everything should be fine.
Closing this as no more problems have been reported.
With the latest update the plugin stopped working for me. It does not matter if I save with autoformat or use try to use the commands (naming also changed? ALL UPPERCASE)
If you need more info just ask