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

Windows Error: Implement me. Unknown stdin file type! #105

Closed
rafaelcastrocouto opened this issue Mar 6, 2016 · 8 comments
Closed

Windows Error: Implement me. Unknown stdin file type! #105

rafaelcastrocouto opened this issue Mar 6, 2016 · 8 comments

Comments

@rafaelcastrocouto
Copy link

Hey guys, we are having an error at devtool related to stdin that only happens in windows Experience-Monks/devtool#42 and I have no clue how to solve it. Seems like electron "renderer" process.stdin is throwing the Exception: Error: Implement me. Unknown stdin file type! error. Can anyone help? Thx a lot!

@Knighton910
Copy link
Contributor

@rafaelcastrocouto Are you still having issues with this?

@rafaelcastrocouto
Copy link
Author

Yes ... and it's easy to reproduce ... just install devtool npm i devtool -g

then run devtool and inside the console type process.stdin,

you will get an error message Uncaught Error: Implement me. Unknown stdin file type!

@j-mueller
Copy link

So, has this been resolved?

@addaleax
Copy link
Member

@j-mueller I don’t think so… Can you tell which file type stdin has?

@j-mueller
Copy link

stdin is undefined, and the result of tty_wrap.guessHandleType(fd) is "UNKNOWN"

@j-mueller
Copy link

PS. I got this error following the Electron Quick Start tutorial (http://electron.atom.io/docs/tutorial/quick-start/)

Do you think I should file an issue with electron, or is this the right place?

@addaleax
Copy link
Member

stdin is undefined

If you’re talking about the stdin variable, yes, that’s normal before the first call to tty_wrap.guessHandleType. What I meant was more, like, in what way is the process spawned so that it does not have a valid stdin?

Do you think I should file an issue with electron, or is this the right place?

Maybe, yes.

@j-mueller
Copy link

in what way is the process spawned so that it does not have a valid stdin?

It was spawned by electron, so I will see if I can find anything over there. Thanks.

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