laravue icon indicating copy to clipboard operation
laravue copied to clipboard

Docker Error

Open chaaawles opened this issue 4 years ago • 3 comments

I've been trying to use laravue with docker and I followed the one in the documentation. The redis and mysql runs but the laravel has an error which says

: invalid optionoint.sh: line 2: set: -

set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]

cat: '.env'$'\r': No such file or directory

cat: '.env'$'\r': No such file or directory



[Symfony\Component\Console\Exception\CommandNotFoundException]

" is not defined.


Did you mean this?

install



Wait for MySQL to be ready

./laravue-entrypoint.sh: line 18: syntax error: unexpected end of file

What does this mean?

chaaawles avatar Dec 04 '20 03:12 chaaawles

I can't reproduce the issue in my local environment (run using docker-compose from Docker for Mac suite).

Can you provide further information regarding the environment raised the issue?

Regards.

ngdangdat avatar Dec 10 '20 00:12 ngdangdat

I use Windows and I didn't touch the dockerfile, docker-compose and laravue-entrypoint.sh

chaaawles avatar Dec 10 '20 03:12 chaaawles

@chaaawles Can you try removing this line form laravue-entrypoint.sh and running again?

As most of our users use Linux/Mac OS, some parts related to deployment are not fully compatible with Windows. I guess this has something to do with the Bash environment.

ngdangdat avatar Dec 15 '20 11:12 ngdangdat