Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One keystroke is printing two characters, during install. #32

Closed
mrillusi0n opened this issue Sep 23, 2019 · 14 comments
Closed

One keystroke is printing two characters, during install. #32

mrillusi0n opened this issue Sep 23, 2019 · 14 comments
Labels
External-issue This issue is not originated from this project itself Fixed 🎉 This issue is already fixed Known-issue This issue is already known

Comments

@mrillusi0n
Copy link
Collaborator

My keystrokes: #ff847c
On screen: ##884477cc

But the input was valid.

@exadeci
Copy link

exadeci commented Sep 23, 2019

Same issue with 0.3.4678 on osx

I tried with Iterm2 and bash (I use fish) but the issue persists.

[edit] Also on Mojave

@mrillusi0n
Copy link
Collaborator Author

mrillusi0n commented Sep 23, 2019

If it helps to narrow down the issue, I faced this on macOS (Mojave) too. Additionally, used fish terminal, as @exadeci.

@KeronCyst
Copy link

Same on Win10!

@m4heshd
Copy link
Owner

m4heshd commented Sep 23, 2019

It's a known issue on Node.js which i included right here in the documentation. Take a look at nodejs/node#25875.

@m4heshd m4heshd added Known-issue This issue is already known External-issue This issue is not originated from this project itself labels Sep 23, 2019
@m4heshd
Copy link
Owner

m4heshd commented Sep 23, 2019

Surprisingly I've managed to fix this right now. Please check the binary downloads and running from the source.

@mrillusi0n
Copy link
Collaborator Author

Sorry for not going through the documentation properly. Closing this issue, since it's already documented.

@m4heshd
Copy link
Owner

m4heshd commented Sep 23, 2019

@mrillusi0n, No problem at all. Can i label this as "solved"? Need some confirmation before i proceed.

@exadeci
Copy link

exadeci commented Sep 23, 2019

@m4heshd Could you share with us a compiled version? I've installed node npm install failed, then tried with nvm and the lts node but it failed again with the same dependency install issue:

Downloading ResourceHacker by Angus Johnson...
_http_client.js:107
  var expectedProtocol = defaultAgent.protocol;
                                      ^

TypeError: Cannot read property 'protocol' of undefined
    at new ClientRequest (_http_client.js:107:39)

@m4heshd
Copy link
Owner

m4heshd commented Sep 24, 2019

@exadeci, It's already updated in the latest release.

@mrillusi0n
Copy link
Collaborator Author

@m4heshd It's technically not solved, but I thought the issue would not make sense when it's already mentioned under the docs.

@m4heshd
Copy link
Owner

m4heshd commented Sep 24, 2019

@mrillusi0n did you download the release again? Because I've tested on multiple distributions including macOS Mojave and the inputs work fine now. I've got some other people to test too. All reported to be working as it was suppose to work.

@exadeci
Copy link

exadeci commented Sep 24, 2019

Yeah it works now, might be better next time to name it with a different revision like 0.3.4679 because the release page doesn't display if a file has been changed.

@m4heshd
Copy link
Owner

m4heshd commented Sep 24, 2019

@exadeci I can't do that since I version the dark mode releases parallel to WhatsApp desktop releases. It's in the documentation. It's always good practice to keep the source versioning aligned with the target when you're releasing tweaks/plugins for another application to avoid confusion. Also if i did that, it would show all the other users that a new version is available since the script now support auto update checks, which would've confused people more. Ironically I updated this release just before WhatsApp released a bugfix patch tagged 0.3.4679. I still stand by my decision because it's a good thing so i can save that minor version difference to push useful updates such as broken styles since the patch is still super early to debug.

@m4heshd m4heshd added the Fixed 🎉 This issue is already fixed label Sep 24, 2019
@mrillusi0n
Copy link
Collaborator Author

@mrillusi0n did you download the release again? Because I've tested on multiple distributions including macOS Mojave and the inputs work fine now. I've got some other people to test too. All reported to be working as it was suppose to work.

TL;DR I did not face the issue in the newest binary.

Yes, I did download, and the problem does not exist. Another observation I made was that the problem did not occur when I did node ., but I did face the same issue when I tried npm run dist-mac, although, I've not tried building it after the newest commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
External-issue This issue is not originated from this project itself Fixed 🎉 This issue is already fixed Known-issue This issue is already known
Projects
None yet
Development

No branches or pull requests

4 participants