gent-fella-health/vue-lumen-starter

Installation fails at php artisan migrate

Closed this issue · 6 comments

λ  ~/Downloads  git clone https://github.com/gentritabazi01/Vue-Lumen-Starter.git lumen-vue
Cloning into 'lumen-vue'...
remote: Enumerating objects: 25, done.
remote: Counting objects: 100% (25/25), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 712 (delta 9), reused 0 (delta 0), pack-reused 687
Receiving objects: 100% (712/712), 1.69 MiB | 3.71 MiB/s, done.
Resolving deltas: 100% (270/270), done.
λ  ~/Downloads  cd lumen-vue
λ  lumen-vue master ✓ code .
λ  lumen-vue master ✓ cd back
λ  lumen-vue/back master ✓ copy .env.example .env
zsh: command not found: copy
λ  lumen-vue/back master ✓ php artisan migrate

Warning: require_once(/Users/jamesauble/Downloads/lumen-vue/back/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /Users/jamesauble/Downloads/lumen-vue/back/bootstrap/app.php on line 3

Fatal error: require_once(): Failed opening required '/Users/jamesauble/Downloads/lumen-vue/back/bootstrap/../vendor/autoload.php' (include_path='.:/usr/local/Cellar/php@7.4/7.4.16/share/php@7.4/pear') in /Users/jamesauble/Downloads/lumen-vue/back/bootstrap/app.php on line 3
λ  lumen-vue/back master ✓

Are you using mac ? 💻

You need to use: cp instead copy.

Yeah, Mac.

I just created the .env in VS Code and entered the DB info. Is .env supposed to live in {Project_Root}/back ?

You need to run: composer install.

Oh I figured it out. I'm sure this is a no brainer for people that user PHP everyday but maybe add a line in the installation instructions for composer install

Yeah thanks.