Error messages when starting BalenaSound

I’m getting the following messages when I try to start BalenaSound.

01.02.20 20:58:14 (-0700) spotify /usr/src/start.sh: line 2: $’\r’: command not found
01.02.20 20:58:14 (-0700) spotify /usr/src/start.sh: line 18: syntax error: unexpected end of file

01.02.20 20:58:11 (-0700) airplay /usr/src/start.sh: line 2: $’\r’: command not found
01.02.20 20:58:11 (-0700) airplay /usr/src/start.sh: line 8: syntax error: unexpected end of file

01.02.20 20:58:14 (-0700) bluetooth-audio /usr/src/start.sh: line 2: $’\r’: command not found
01.02.20 20:58:14 (-0700) bluetooth-audio /usr/src/start.sh: line 58: syntax error: unexpected end of file

Any Thoughts?

Hi @JamesFrancisco, first of all welcome to the balena forums : )

Seems like you are hitting this issue with line endings conversion on Windows: https://github.com/balena-io/balena-cli/issues/1273

We just deployed a fix to the issue so balena-cli converts these line endings: https://github.com/balena-io/balena-cli/pull/1583

So could you please try again the new version of balena-cli?

Until you get the new version of balena-cli, you could download the zip archive from the github page and push that. We confirmed that zip archive download keeps the line endings fine.