fastapi-react icon indicating copy to clipboard operation
fastapi-react copied to clipboard

Frontend build faild

Open buaaflyaway opened this issue 3 years ago • 2 comments

Frontend build faild, don't know why

/app/run.sh: line 2: $'\r': command not found
/app/run.sh: line 3: syntax error near unexpected token `$'in\r''
'app/run.sh: line 3: `case $1 in

buaaflyaway avatar Jun 06 '22 16:06 buaaflyaway

@buaaflyaway did you ever find a solution to this? I have the same issue.

hrhames avatar Jul 21 '22 14:07 hrhames

Issue is with line ending differences between windows and linux. Open up run.sh in notepad++ and find and replace "\r\n" with "\n".

ksuaning-au avatar Aug 02 '22 04:08 ksuaning-au