It doesn't but they are heavily recommended as you'll have a bad time otherwise.
As for the error, it should be telling you more than non-zero exit, it should be mentioning something about setupdecompworkspace and setupdevworkspace not being valid tasks in 1.14.2, all the work those tasks used to do is now done when your IDE imports the project.