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

UnhandledPromiseRejectionWarning #102

Closed
dsthedev opened this issue Apr 21, 2017 · 11 comments
Closed

UnhandledPromiseRejectionWarning #102

dsthedev opened this issue Apr 21, 2017 · 11 comments

Comments

@dsthedev
Copy link

Fresh install, tried reinstalling, tried googling the error, still getting this error:

Slack subdomain: d******v
Email address login: d******v@gmail.com
(node:4044) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: process.stdin.setRawMode is not a function

@zachfeldman
Copy link
Contributor

Hi @dsthedev thanks for letting us know. What version is this?

Also see this issue:
#100

May want to wait a few hours or a day or two and then try again, you might just be getting rate limited.

@dsthedev
Copy link
Author

Most recent version of Windows 10, gitbash, node/npm and this tool. I tried it on my macbook minutes afterward and it worked, so I'm not too worried about it now. I did check #100 before posting this, but it wouldn't even let me get past entering my email.

Any idea how/why I'd be getting rate limited? It was my 2-5th attempt.

Either way, I can't check it on that machine until Monday. But I'll check it then and report back if it worked or not.

@zachfeldman
Copy link
Contributor

Sounds good!

@hvisage
Copy link

hvisage commented Apr 24, 2017

Good day,
I'm also getting this, after succesfully loading some of the emojipacks, I'm trying to load the SlackMojis.com pack:

-y http://slackmojis.com/emojis.yaml
Starting import
Got tokens
Logged in
Getting emoji page
(node:7479) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot convert undefined or null to object
debian@linked-clone-of-debian8netinst:~$

@zachfeldman
Copy link
Contributor

Hey @hvisage what operating system are you running in? Debian? If so unfortunately I don't have a Debian setup to try to replicate your issue on. Could you try throwing some debug statements in there and seeing if anything is being returned correctly?

@dsthedev
Copy link
Author

Late reply, but I tried it again on my Windows machine and same thing happened... I'm just going to use it on my Mac for now. If there is any way I can help with debugging, logs, etc just let me know and I'll see what I can do. Output again fwiw:

Slack subdomain: d******v
Email address login: d******v@gmail.com
(node:13552) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: process.stdin.setRawMode is not a function

This can't be something like what others have encountered, as it's failing at email entry, I don't even get a chance to enter my password to even attempt connecting.

@dsarauer
Copy link

Just a note, it looks like if you are using GitBash on Windows 10 this error pops up on email entry. If you launch the Node.js command line in Windows this works as expected.

@zachfeldman
Copy link
Contributor

@dsarauer interesting. That's at least one solution (if people are running windows 10)

@dsthedev can you try the suggestions in this thread and see if they help (see the last 2 comments):
workshopper/stream-adventure#171

@zachfeldman
Copy link
Contributor

@dsthedev are you still having this issue?

@hvisage
Copy link

hvisage commented May 4, 2017

@zachfeldman I've since retried it (from a place with bit better bandwidth) and it worked fine.

@zachfeldman
Copy link
Contributor

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants