I'm working on M2.2-dev I have created a new clean theme (parent theme is Magento/luma) I have errors executing command bin/matento setup:static-content:deploy -f
SOLUTION:
On file https://github.com/magento/magento2/blob/develop/app/code/Magento/Deploy/Model/Deploy/LocaleDeploy.php
Line 175, change
list($fileArea, $fileTheme, , $module, $filePath, $fullPath) = $info;
to
list($fileArea, $fileTheme, $module, $filePath, $fullPath) = $info;
you can see that there is an extra "," between $fileTheme and $module
Issue MAGETWO-61207
This issue has already been fixed in develop branch.
Closed.
This issue i'm getting with an update to Magento EE 2.1.10 within module "magento/module-deploy": "100.1.6" someone knows if there is a fix for it?
Having the same issue after upgrading from 2.1.7 to 2.1.10.
Seems like the $info Array in vendor/magento/module-deploy/Model/Deploy/LocaleDeploy.php on line 288 contains sometimes less than 6 elements, thus the error is thrown. 
In my case the problem was a broken theme in app/design/frontend.
Hey @magento-engcom-team , can this issue be looked at again?
It seems to have resurfaced on 2.1.10
@magento-engcom-team I'm also hitting this issue after upgrading from 2.1.9 to 2.1.10
I found out that this error is thrown when i have empty theme without files in it.
Solution that @JDavidVR gave is not working.
So by removing that "empty" theme the problem is solved. 
@blewinsky , removing the empty theme worked for me. Tks!
yes ,it`s a solution for that Excepection error on the command,very thanks for you~! @JDavidVR
Most helpful comment
@magento-engcom-team I'm also hitting this issue after upgrading from 2.1.9 to 2.1.10