mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-22 15:02:22 +00:00
1.5 KiB
1.5 KiB
Troubleshooting
This document contains common issues related to the Resin CLI, and how to fix them.
After burning to an sdcard, my device doesn't boot
- The downloaded image is not complete (download was interrupted).
Please clean the cache (%HOME/.resin/cache
or C:\Users\<user>\_resin\cache
) and run the command again. In the future, the CLI will check that the image is not complete and clean the cache for you.
I get a permission error when burning to an sdcard
- The SDCard is locked.
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 usecmd.exe
, asCygwin
is not official supported by Node.js.