From d8a2b82662c5a652fab2e04d97de9746818e8a83 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 21 Sep 2015 08:51:54 -0400 Subject: [PATCH] Move Cygwin caveat from README to TROUBLESHOOTING --- README.md | 5 ----- TROUBLESHOOTING.md | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1b02d16c..26bd65ac 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,6 @@ Run as `root` on UNIX based systems, and in an administrator command line prompt $ resin quickstart ``` -Caveats -------- - -- Some interactive widgets don't work on [Cygwin](https://cygwin.com/). If you're running Windows, it's preferrable that you use `cmd.exe`, as `Cygwin` is [not official supported by Node.js](https://github.com/chjj/blessed/issues/56#issuecomment-42671945). - Support ------- diff --git a/TROUBLESHOOTING.md b/TROUBLESHOOTING.md index f7de0608..17caf899 100644 --- a/TROUBLESHOOTING.md +++ b/TROUBLESHOOTING.md @@ -13,3 +13,22 @@ Please clean the cache (`%HOME/.resin/cache` or `C:\Users\\_resin\cache`) - The SDCard is locked. - The burning operation is not 100% reliable in Windows 10. We're working on it at the moment. + +### I get EINVAL errors on Cygwin + +The errors look something like this: + +``` +net.js:156 + this._handle.open(options.fd); + ^ +Error: EINVAL, invalid argument + at new Socket (net.js:156:18) + at process.stdin (node.js:664:19) + at Object.Interface.createInterface (C:\cygwin\home\Juan Cruz Viotti\Projects\resin-cli\node_modules\inquirer\node_modules\readline2\index.js:31:43) + at PromptUI.UI (C:\cygwin\home\Juan Cruz Viotti\Projects\resin-cli\node_modules\inquirer\lib\ui\baseUI.js:23:40) + at new PromptUI (C:\cygwin\home\Juan Cruz Viotti\Projects\resin-cli\node_modules\inquirer\lib\ui\prompt.js:26:8) + at Object.promptModule [as prompt] (C:\cygwin\home\Juan Cruz Viotti\Projects\resin-cli\node_modules\inquirer\lib\inquirer.js:27:14) +``` + +- Some interactive widgets don't work on `Cygwin`. If you're running Windows, it's preferrable that you use `cmd.exe`, as `Cygwin` is [not official supported by Node.js](https://github.com/chjj/blessed/issues/56#issuecomment-42671945).