Open dvdpwll opened 8 years ago
hmm, at the end when I'm supposed to test if laravel was installed correctly I get laravel: command not found
. I don't know if this is related to virtual hosts issue from earlier. (I was not able to add 192.168.10.10 homestead.app
to /etc/hosts
b/c it won't let me save the file)
oh I was supposed to run: composer global require "laravel/installer"
. But I now get this error:
composer global require "laravel/installer"
Changed current directory to /home/david/.composer
[ErrorException]
file_put_contents(./composer.json): failed to open stream: Permission denie
d
require [--dev] [--prefer-source] [--prefer-dist] [--no-plugins] [--no-progress] [--no-update] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] [<packages>]...
when I ran this:
run composer global require "laravel/installer"
it said that I did not have composer installed.I ran this:
sudo apt install composer
and it seemed to work I ranrun composer global require "laravel/installer"
again and it seemed to work fine. I got this as the output: