Move Cygwin caveat from README to TROUBLESHOOTING

This commit is contained in:
Juan Cruz Viotti 2015-09-21 08:51:54 -04:00
parent f4ebd890df
commit d8a2b82662
2 changed files with 19 additions and 5 deletions

View File

@ -45,11 +45,6 @@ Run as `root` on UNIX based systems, and in an administrator command line prompt
$ resin quickstart $ 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 Support
------- -------

View File

@ -13,3 +13,22 @@ Please clean the cache (`%HOME/.resin/cache` or `C:\Users\<user>\_resin\cache`)
- The SDCard is locked. - The SDCard is locked.
- The burning operation is not 100% reliable in Windows 10. We're working on it at the moment. - 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).