Buuntu / fastapi-react

🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker
MIT License
2.22k stars 349 forks source link

Frontend build faild #191

Open buaaflyaway opened 2 years ago

buaaflyaway commented 2 years ago

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
hrhames commented 2 years ago

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

ksuaning-au commented 2 years ago

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