I have created my own theme, extending Magento/blank. In my own theme, I have included bootstrap among others, and removed the less files from the default theme (I'm not using stles-l.css or styles-m.css).
In some _module.less files from various modules I have created, I'm using bootstrap's vars.
Everything works fine when I do a static-content:deploy for my own theme.
However, if I do a static-content:deploy for the blank theme, errors are generated, because the custom vars specific to my own theme are not defined. Which is normal.
Maybe I'm too lazy to figure it out myself, but has anyone had this sort of issue?
I don't need to use the blank theme at all, but sometimes I need to change between deploy modes (deploy:mode:set), and then, this happens:
Something went wrong while deploying static content. See the error log for details. Command returned non-zero exit code:
/usr/bin/php7.0 -f /public/bin/magento setup:static-content:deploy fr_FR en_US
The deploy command is run as it is, without a -t param, and generates a mess.
I could change the deploy mode without using cli, but this is not my question.