Improve parse error messages for node specs