configArray is not defined when using Pulsar
Closed this issue · 9 comments
When using Pulsar version 1.101.0-beta, i got this error:
configArray is not defined
[Hide Stack Trace](https://github.com/h3imdall/ftp-remote-edit/issues/new#)
ReferenceError: configArray is not defined
at Storage.load (storage.js:56:22)
at ConfigurationView.close (configuration-view.js:765:13)
at HTMLButtonElement.<anonymous> (configuration-view.js:80:12)
I have the same problem.
I migrated from a notebook, from Windows to MAC, so I needed to install the atom to use the ftp-remote-edit pack, but I can't search for the packs using the atom.
so I downloaded the pulsar, but it gives the same error.
I saw that this error is only happening in Pulsar, because I downloaded the atom, even archived, and manually copied the files from ftp-remote-edit and added them to the "packages" folder of the atom, so I was able to use and connect via ftp.
however on Pulsar, it gives this same problem.
Do you have a compatibility prediction?
it would be really good.
On line 56 of this file configArray
was used without an initializer, neither was it ever initialized within the file. Hence the variable is clearly undefined. It's a bit weird why it only happens in pulsar and not in atom, however i suppose it could be due to a missing update in apm.
The problem now is, how do we get @h3imdall to solve it or merge a pull request?
In the meantime, how do we get that PR to work with Pulsar? I've downloaded the fork but don't know where the package files go on MacOS.
I've used this PR, seems good
@Luishi5000 and anyone else who might find this helpful.
To use this PR
Just copy (and overwrite) the contents of the downloaded files from the fork, to the package installation folder.
On my MacOS, it is located at /Users/[USERNAME]/.pulsar/packages/ftp-remote-edit
On Ubuntu, it is located at /usr/lib/pulsar/packages/ftp-remote-edit
I have made the adjustments, merged into the master and am now trying to release a new version. Unfortunately it is not as easy as it was under atom. (https://github.com/orgs/pulsar-edit/discussions/91)
I hope the problem can be fixed quickly, so that you can download/install the new version in Pulsar again without any problems.
I have made the adjustments, merged into the master and am now trying to release a new version. Unfortunately it is not as easy as it was under atom. (https://github.com/orgs/pulsar-edit/discussions/91)
I hope the problem can be fixed quickly, so that you can download/install the new version in Pulsar again without any problems.
thank you so much.