Shelljs module does not fail in case shelljs.config.fatal is not set to true. However setting it true leads to some unexpected issues - the shelljs silently exits the process when calling tns platform add android@1.3.0 for example.
So consider respecting the errors of shelljs, but make sure all operations work.