biati-digital / nova-text-tools

Swiss Army knife for text manipulation and selection Sort, Transform, Filter, Delete Duplicates, Encode, Decode and much more...
16 stars 2 forks source link

Doesn't work on nova 7.5 (build 316195) #7

Closed svoop closed 2 years ago

svoop commented 2 years ago

This is a very useful extension, thanks a bunch!

However, I don't get it to work on nova 7.5. I've tried to reverse lines, but nothing happens. In fact, none of the commands does anything.

Screen Shot 2021-10-23 at 13 24 48

Also, the extension console doesn't log anything.

Any idea what could be the problem here?

biati-digital commented 2 years ago

We use Nova 7.5 (build 316195) and everything is working correctly, did you try all of them? Make Constant Case, etc?

To be honest it's really difficult to provide any help as you say there are no logs, can you try to uninstall and install the extension again?

biati-digital commented 2 years ago

Can you please also try temporarily disabling your other extensions? just to make sure the registered commands are not overwritten.

svoop commented 2 years ago

I've tried re-install this extension and deactive all others, the problem persists.

To be honest it's really difficult to provide any help as you say there are no logs, can you try to uninstall and install the extension again?

Totally agree, however, after restarting Nova, the console shows the following error now:

Extension encountered an uncaught exception:
/Users/svoop/Library/Application Support/Nova/Extensions/biati.texttools/Scripts/main.dist.js (Line 4'337, Column 0)
SyntaxError: Unexpected token '='. Expected an opening '(' before a method's parameter list.
biati-digital commented 2 years ago

That's really weird, we are not able to replicate the error, we did a quick change and submitted an update, please update to 3.0.2 and let me know if it's working for you.

svoop commented 2 years ago

First of all, thanks for helping!

Unfortunately, 3.0.2 with all other extensions disabled doesn't work neither, but logs a different error:

Extension encountered an uncaught exception:
/Users/svoop/Library/Application Support/Nova/Extensions/biati.texttools/Scripts/main.dist.js (Line 4'505, Column 0)
SyntaxError: Unexpected token '.'
biati-digital commented 2 years ago

Can you tell me your MacOS version? you are having problems with new code like class properties (the first error you mentioned) and now optional chaining, not sure if related to a MacOS version. We have added esbuild to transpile the code so new code it's converted to code that older systems can understand.

Before submitting an update please download it from here and let me know if it's working for you.

https://www.dropbox.com/t/35xj1IuxbQ707SlC

svoop commented 2 years ago

The Dropbox-version works indeed, cool! And yes, I'm on a quite outdated Mac running macOS Mojave.

However, I found a replacement for the last essential 32bit app and will finally "upgrade" when the new hardware arrives in a few weeks time. If this is a Mojave only issue, it might not be worth uglifying your code base with backwards compatible clutter: Apple has somewhat silently EOLed Mojave by no longer backporting security patches, it being the last version to support 32bit apps is probably the only reason why it survives longer than other outdated macOSes.

biati-digital commented 2 years ago

Awesome, glad it's working.

I'm sure there are other users running an older OS, the transpiled code should not have any negative effect and if Nova works then the extension should also work.

We'll submit an update to the extension gallery to provide compatibility with older systems.

svoop commented 2 years ago

Great! Thanks a lot for fixing this issue!