php - Installation of Homestead -


my whole log. fresh command prompt, followed laravel documentation asked me problems keep popping no where.... directory right? run command in project directory laravel asked me "make sure place ~/.composer/vendor/bin directory in path homestead executable found when run homestead command in terminal." please help.

~\composer\vendor\bin>composer global require "laravel/homestead=~2.0"  changed current directory ~/roaming/composer     ./composer.json has been updated     loading composer repositories package information     updating dependencies (including require-dev)     requirements not resolved installable set of packages.    problem 1     - conclusion: don't install laravel/homestead v2.2.1     - conclusion: don't install laravel/homestead v2.2.0     - conclusion: don't install laravel/homestead v2.1.8     - conclusion: don't install laravel/homestead v2.1.7     - conclusion: don't install laravel/homestead v2.1.6     - conclusion: don't install laravel/homestead v2.1.5     - conclusion: don't install laravel/homestead v2.1.4     - conclusion: don't install laravel/homestead v2.1.3     - conclusion: don't install laravel/homestead v2.1.2     - conclusion: don't install laravel/homestead v2.1.1     - conclusion: don't install laravel/homestead v2.1.0     - conclusion: don't install laravel/homestead v2.0.17     - conclusion: don't install laravel/homestead v2.0.16     - conclusion: don't install laravel/homestead v2.0.15     - conclusion: don't install laravel/homestead v2.0.14     - conclusion: don't install laravel/homestead v2.0.13     - conclusion: don't install laravel/homestead v2.0.12     - conclusion: don't install laravel/homestead v2.0.11     - conclusion: don't install laravel/homestead v2.0.10     - conclusion: don't install laravel/homestead v2.0.9     - conclusion: don't install laravel/homestead v2.0.8     - conclusion: don't install laravel/homestead v2.0.7     - conclusion: don't install laravel/homestead v2.0.6     - conclusion: don't install laravel/homestead v2.0.5     - conclusion: don't install laravel/homestead v2.0.4     - conclusion: don't install laravel/homestead v2.0.3     - conclusion: don't install laravel/homestead v2.0.2     - conclusion: don't install laravel/homestead v2.0.1     - conclusion: remove symfony/console v3.1.0     - installation request laravel/homestead ~2.0 -> satisfiable laravel/homestead[v2.0.0, v2.0.1, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.2, v2.0.3, v2.0.4, v2.0.5, v2.0.6, v2.0.7, v2.0.8, v2.0.9, v2.1.0, v2.1.1, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.2.0, v2.2.1].     - conclusion: don't install symfony/console v3.1.0     - laravel/homestead v2.0.0 requires symfony/console ~2.0 -> satisfiable symfony/console[2.0.4, 2.0.5, 2.0.6, 2.0.7, v2.0.10, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.24, v2.0.25, v2.0.9, v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.4, v2.3.40, v2.3.41, v2.3.42, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6].     - can install 1 of: symfony/console[v2.3.0, v3.1.0].     - can install 1 of: symfony/console[v2.3.1, v3.1.0].     - can install 1 of: symfony/console[v2.3.10, v3.1.0].     - can install 1 of: symfony/console[v2.3.11, v3.1.0].     - can install 1 of: symfony/console[v2.3.12, v3.1.0].     - can install 1 of: symfony/console[v2.3.13, v3.1.0].     - can install 1 of: symfony/console[v2.3.14, v3.1.0].     - can install 1 of: symfony/console[v2.3.15, v3.1.0].     - can install 1 of: symfony/console[v2.3.16, v3.1.0].     - can install 1 of: symfony/console[v2.3.17, v3.1.0].     - can install 1 of: symfony/console[v2.3.18, v3.1.0].     - can install 1 of: symfony/console[v2.3.19, v3.1.0].     - can install 1 of: symfony/console[v2.3.2, v3.1.0].     - can install 1 of: symfony/console[v2.3.20, v3.1.0].     - can install 1 of: symfony/console[v2.3.21, v3.1.0].     - can install 1 of: symfony/console[v2.3.22, v3.1.0].     - can install 1 of: symfony/console[v2.3.23, v3.1.0].     - can install 1 of: symfony/console[v2.3.24, v3.1.0].     - can install 1 of: symfony/console[v2.3.25, v3.1.0].     - can install 1 of: symfony/console[v2.3.26, v3.1.0].     - can install 1 of: symfony/console[v2.3.27, v3.1.0].     - can install 1 of: symfony/console[v2.3.28, v3.1.0].     - can install 1 of: symfony/console[v2.3.29, v3.1.0].     - can install 1 of: symfony/console[v2.3.3, v3.1.0].     - can install 1 of: symfony/console[v2.3.30, v3.1.0].     - can install 1 of: symfony/console[v2.3.31, v3.1.0].     - can install 1 of: symfony/console[v2.3.32, v3.1.0].     - can install 1 of: symfony/console[v2.3.33, v3.1.0].     - can install 1 of: symfony/console[v2.3.34, v3.1.0].     - can install 1 of: symfony/console[v2.3.35, v3.1.0].     - can install 1 of: symfony/console[v2.3.36, v3.1.0].     - can install 1 of: symfony/console[v2.3.37, v3.1.0].     - can install 1 of: symfony/console[v2.3.38, v3.1.0].     - can install 1 of: symfony/console[v2.3.39, v3.1.0].     - can install 1 of: symfony/console[v2.3.4, v3.1.0].     - can install 1 of: symfony/console[v2.3.40, v3.1.0].     - can install 1 of: symfony/console[v2.3.41, v3.1.0].     - can install 1 of: symfony/console[v2.3.42, v3.1.0].     - can install 1 of: symfony/console[v2.3.5, v3.1.0].     - can install 1 of: symfony/console[v2.3.6, v3.1.0].     - can install 1 of: symfony/console[v2.3.7, v3.1.0].     - can install 1 of: symfony/console[v2.3.8, v3.1.0].     - can install 1 of: symfony/console[v2.3.9, v3.1.0].     - can install 1 of: symfony/console[v2.4.0, v3.1.0].     - can install 1 of: symfony/console[v2.4.1, v3.1.0].     - can install 1 of: symfony/console[v2.4.10, v3.1.0].     - can install 1 of: symfony/console[v2.4.2, v3.1.0].     - can install 1 of: symfony/console[v2.4.3, v3.1.0].     - can install 1 of: symfony/console[v2.4.4, v3.1.0].     - can install 1 of: symfony/console[v2.4.5, v3.1.0].     - can install 1 of: symfony/console[v2.4.6, v3.1.0].     - can install 1 of: symfony/console[v2.4.7, v3.1.0].     - can install 1 of: symfony/console[v2.4.8, v3.1.0].     - can install 1 of: symfony/console[v2.4.9, v3.1.0].     - can install 1 of: symfony/console[v2.5.0, v3.1.0].     - can install 1 of: symfony/console[v2.5.1, v3.1.0].     - can install 1 of: symfony/console[v2.5.10, v3.1.0].     - can install 1 of: symfony/console[v2.5.11, v3.1.0].     - can install 1 of: symfony/console[v2.5.12, v3.1.0].     - can install 1 of: symfony/console[v2.5.2, v3.1.0].     - can install 1 of: symfony/console[v2.5.3, v3.1.0].     - can install 1 of: symfony/console[v2.5.4, v3.1.0].     - can install 1 of: symfony/console[v2.5.5, v3.1.0].     - can install 1 of: symfony/console[v2.5.6, v3.1.0].     - can install 1 of: symfony/console[v2.5.7, v3.1.0].     - can install 1 of: symfony/console[v2.5.8, v3.1.0].     - can install 1 of: symfony/console[v2.5.9, v3.1.0].     - can install 1 of: symfony/console[v2.6.0, v3.1.0].     - can install 1 of: symfony/console[v2.6.1, v3.1.0].     - can install 1 of: symfony/console[v2.6.10, v3.1.0].     - can install 1 of: symfony/console[v2.6.11, v3.1.0].     - can install 1 of: symfony/console[v2.6.12, v3.1.0].     - can install 1 of: symfony/console[v2.6.13, v3.1.0].     - can install 1 of: symfony/console[v2.6.2, v3.1.0].     - can install 1 of: symfony/console[v2.6.3, v3.1.0].     - can install 1 of: symfony/console[v2.6.4, v3.1.0].     - can install 1 of: symfony/console[v2.6.5, v3.1.0].     - can install 1 of: symfony/console[v2.6.6, v3.1.0].     - can install 1 of: symfony/console[v2.6.7, v3.1.0].     - can install 1 of: symfony/console[v2.6.8, v3.1.0].     - can install 1 of: symfony/console[v2.6.9, v3.1.0].     - can install 1 of: symfony/console[v2.7.0, v3.1.0].     - can install 1 of: symfony/console[v2.7.1, v3.1.0].     - can install 1 of: symfony/console[v2.7.10, v3.1.0].     - can install 1 of: symfony/console[v2.7.11, v3.1.0].     - can install 1 of: symfony/console[v2.7.12, v3.1.0].     - can install 1 of: symfony/console[v2.7.13, v3.1.0].     - can install 1 of: symfony/console[v2.7.2, v3.1.0].     - can install 1 of: symfony/console[v2.7.3, v3.1.0].     - can install 1 of: symfony/console[v2.7.4, v3.1.0].     - can install 1 of: symfony/console[v2.7.5, v3.1.0].     - can install 1 of: symfony/console[v2.7.6, v3.1.0].     - can install 1 of: symfony/console[v2.7.7, v3.1.0].     - can install 1 of: symfony/console[v2.7.8, v3.1.0].     - can install 1 of: symfony/console[v2.7.9, v3.1.0].     - can install 1 of: symfony/console[v2.8.0, v3.1.0].     - can install 1 of: symfony/console[v2.8.1, v3.1.0].     - can install 1 of: symfony/console[v2.8.2, v3.1.0].     - can install 1 of: symfony/console[v2.8.3, v3.1.0].     - can install 1 of: symfony/console[v2.8.4, v3.1.0].     - can install 1 of: symfony/console[v2.8.5, v3.1.0].     - can install 1 of: symfony/console[v2.8.6, v3.1.0].     - can install 1 of: symfony/console[2.0.4, v3.1.0].     - can install 1 of: symfony/console[2.0.5, v3.1.0].     - can install 1 of: symfony/console[2.0.6, v3.1.0].     - can install 1 of: symfony/console[2.0.7, v3.1.0].     - can install 1 of: symfony/console[v2.0.10, v3.1.0].     - can install 1 of: symfony/console[v2.0.12, v3.1.0].     - can install 1 of: symfony/console[v2.0.13, v3.1.0].     - can install 1 of: symfony/console[v2.0.14, v3.1.0].     - can install 1 of: symfony/console[v2.0.15, v3.1.0].     - can install 1 of: symfony/console[v2.0.16, v3.1.0].     - can install 1 of: symfony/console[v2.0.17, v3.1.0].     - can install 1 of: symfony/console[v2.0.18, v3.1.0].     - can install 1 of: symfony/console[v2.0.19, v3.1.0].     - can install 1 of: symfony/console[v2.0.20, v3.1.0].     - can install 1 of: symfony/console[v2.0.21, v3.1.0].     - can install 1 of: symfony/console[v2.0.22, v3.1.0].     - can install 1 of: symfony/console[v2.0.23, v3.1.0].     - can install 1 of: symfony/console[v2.0.24, v3.1.0].     - can install 1 of: symfony/console[v2.0.25, v3.1.0].     - can install 1 of: symfony/console[v2.0.9, v3.1.0].     - can install 1 of: symfony/console[v2.1.0, v3.1.0].     - can install 1 of: symfony/console[v2.1.1, v3.1.0].     - can install 1 of: symfony/console[v2.1.10, v3.1.0].     - can install 1 of: symfony/console[v2.1.11, v3.1.0].     - can install 1 of: symfony/console[v2.1.12, v3.1.0].     - can install 1 of: symfony/console[v2.1.13, v3.1.0].     - can install 1 of: symfony/console[v2.1.2, v3.1.0].     - can install 1 of: symfony/console[v2.1.3, v3.1.0].     - can install 1 of: symfony/console[v2.1.4, v3.1.0].     - can install 1 of: symfony/console[v2.1.5, v3.1.0].     - can install 1 of: symfony/console[v2.1.6, v3.1.0].     - can install 1 of: symfony/console[v2.1.7, v3.1.0].     - can install 1 of: symfony/console[v2.1.8, v3.1.0].     - can install 1 of: symfony/console[v2.1.9, v3.1.0].     - can install 1 of: symfony/console[v2.2.0, v3.1.0].     - can install 1 of: symfony/console[v2.2.1, v3.1.0].     - can install 1 of: symfony/console[v2.2.10, v3.1.0].     - can install 1 of: symfony/console[v2.2.11, v3.1.0].     - can install 1 of: symfony/console[v2.2.2, v3.1.0].     - can install 1 of: symfony/console[v2.2.3, v3.1.0].     - can install 1 of: symfony/console[v2.2.4, v3.1.0].     - can install 1 of: symfony/console[v2.2.5, v3.1.0].     - can install 1 of: symfony/console[v2.2.6, v3.1.0].     - can install 1 of: symfony/console[v2.2.7, v3.1.0].     - can install 1 of: symfony/console[v2.2.8, v3.1.0].     - can install 1 of: symfony/console[v2.2.9, v3.1.0].     - installation request symfony/console (locked @ v3.1.0) -> satisfiable symfony/console[v3.1.0].    installation failed, reverting ./composer.json original content. 

enter composer project directory, get:

composer version 1.1.1 2016-05-17 12:25:44  usage:   command [options] [arguments]  options:   -h, --help                     display message   -q, --quiet                    not output message   -v, --version                  display application version       --ansi                     force ansi output       --no-ansi                  disable ansi output   -n, --no-interaction           not ask interactive question       --profile                  display timing , memory usage information       --no-plugins               whether disable plugins.   -d, --working-dir=working-dir  if specified, use given directory working directory.   -v|vv|vvv, --verbose           increase verbosity of messages: 1 normal output, 2 more verbose output , 3 debug  available commands:             short information composer   archive         create archive of composer package   browse          opens package's repository url or homepage in browser.   clear-cache     clears composer's internal package cache.   clearcache      clears composer's internal package cache.   config          set config options   create-project  create new project package given directory.   depends         shows packages cause given package installed   diagnose        diagnoses system identify common errors.   dump-autoload   dumps autoloader   dumpautoload    dumps autoloader   exec            execute vendored binary/script   global          allows running commands in global composer dir ($composer_home).              displays command   home            opens package's repository url or homepage in browser.   info            show information packages   init            creates basic composer.json file in current directory.   install         installs project dependencies composer.lock file if present, or falls on composer.json.   licenses        show information licenses of dependencies   list            lists commands   outdated        shows list of installed packages have updates available, including latest version.   prohibits       shows packages prevent given package being installed   remove          removes package require or require-dev   require         adds required packages composer.json , installs them   run-script      run scripts defined in composer.json.   search          search packages   self-update     updates composer.phar latest version.   selfupdate      updates composer.phar latest version.   show            show information packages   status          show list of locally modified packages   suggests        show package suggestions   update          updates dependencies latest version according composer.json, , updates composer.lock file.   validate        validates composer.json , composer.lock   why             shows packages cause given package installed   why-not         shows packages prevent given package being installed 

it seems laravel/homestead's symfony/console dependency conflicting installed symfony/console (which installed dependency of package)

installation of homestead doom5

as long package cause conflict, you're not able install - need resolve requirements first. require-command doesn't automatically. here's workaround, worked @ least me:

method 1

1. add failing package composer.json:

this done hand, composer --no-update option, "disables automatic update of dependencies" (i.e., add package composer.json, don't install it):

composer global require "laravel/homestead=~2.0" --no-update 

2. reinstall affected packages:

having "laravel/homestead": "~2.0" in composer.json, can resolve dependencies, , install them ~/.composer/vendor.

composer global update 

to update packages cause conflict, use prohibits , depends commands, packages blocking given package.


method 2

solution require dependencies directly. however, not solve issue...

composer global require "laravel/homestead=~2.0" "symfony/console=~2.0" 


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo