Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't install globaly #67

Closed
MladenJanjetovic opened this issue Jul 17, 2018 · 1 comment
Closed

can't install globaly #67

MladenJanjetovic opened this issue Jul 17, 2018 · 1 comment

Comments

@MladenJanjetovic
Copy link

Hi,

Trying to install your package for the first time. I wanted to inststal with
composer global require spatie/phpunit-watcher

But I am getting an error:

Using version ^1.5 for spatie/phpunit-watcher
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install spatie/phpunit-watcher 1.5.1
    - Conclusion: don't install symfony/process v4.1.1
    - Conclusion: remove symfony/process v3.1.0
    - Conclusion: don't install symfony/process v4.1.0
    - Installation request for spatie/phpunit-watcher ^1.5 -> satisfiable by spatie/phpunit-watcher[1.5.0, 1.5.1].
    - Conclusion: don't install symfony/process v3.1.0
    - spatie/phpunit-watcher 1.5.0 requires jolicode/jolinotif ^2.0 -> satisfiable by jolicode/jolinotif[v2.0.0, v2.0.1].
    - jolicode/jolinotif v2.0.0 requires symfony/process ~3.3|~4.0 -> satisfiable by symfony/process[v3.3.0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.14, v3.3.15, v3.3.16, v3.3.17, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0, v3.4.1, v3.4.10, v3.4.11, v3.4.12, v3.4.2, v3.4.3, v3.4.4, v3.4.5, v3.4.6, v3.4.7, v3.4.8, v3.4.9, v4.0.0, v4.0.1, v4.0.10, v4.0.11, v4.0.12, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9, v4.1.0, v4.1.1].
    - jolicode/jolinotif v2.0.1 requires symfony/process ~3.3|~4.0 -> satisfiable by symfony/process[v3.3.0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.14, v3.3.15, v3.3.16, v3.3.17, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0, v3.4.1, v3.4.10, v3.4.11, v3.4.12, v3.4.2, v3.4.3, v3.4.4, v3.4.5, v3.4.6, v3.4.7, v3.4.8, v3.4.9, v4.0.0, v4.0.1, v4.0.10, v4.0.11, v4.0.12, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9, v4.1.0, v4.1.1].
    - Can only install one of: symfony/process[v3.3.0, v3.1.0].
    - Can only install one of: symfony/process[v3.3.1, v3.1.0].
    - Can only install one of: symfony/process[v3.3.10, v3.1.0].
    - Can only install one of: symfony/process[v3.3.11, v3.1.0].
    - Can only install one of: symfony/process[v3.3.12, v3.1.0].
    - Can only install one of: symfony/process[v3.3.13, v3.1.0].
    - Can only install one of: symfony/process[v3.3.14, v3.1.0].
    - Can only install one of: symfony/process[v3.3.15, v3.1.0].
    - Can only install one of: symfony/process[v3.3.16, v3.1.0].
    - Can only install one of: symfony/process[v3.3.17, v3.1.0].
    - Can only install one of: symfony/process[v3.3.2, v3.1.0].
    - Can only install one of: symfony/process[v3.3.3, v3.1.0].
    - Can only install one of: symfony/process[v3.3.4, v3.1.0].
    - Can only install one of: symfony/process[v3.3.5, v3.1.0].
    - Can only install one of: symfony/process[v3.3.6, v3.1.0].
    - Can only install one of: symfony/process[v3.3.7, v3.1.0].
    - Can only install one of: symfony/process[v3.3.8, v3.1.0].
    - Can only install one of: symfony/process[v3.3.9, v3.1.0].
    - Can only install one of: symfony/process[v3.4.0, v3.1.0].
    - Can only install one of: symfony/process[v3.4.1, v3.1.0].
    - Can only install one of: symfony/process[v3.4.10, v3.1.0].
    - Can only install one of: symfony/process[v3.4.11, v3.1.0].
    - Can only install one of: symfony/process[v3.4.12, v3.1.0].
    - Can only install one of: symfony/process[v3.4.2, v3.1.0].
    - Can only install one of: symfony/process[v3.4.3, v3.1.0].
    - Can only install one of: symfony/process[v3.4.4, v3.1.0].
    - Can only install one of: symfony/process[v3.4.5, v3.1.0].
    - Can only install one of: symfony/process[v3.4.6, v3.1.0].
    - Can only install one of: symfony/process[v3.4.7, v3.1.0].
    - Can only install one of: symfony/process[v3.4.8, v3.1.0].
    - Can only install one of: symfony/process[v3.4.9, v3.1.0].
    - Can only install one of: symfony/process[v4.0.0, v3.1.0].
    - Can only install one of: symfony/process[v4.0.1, v3.1.0].
    - Can only install one of: symfony/process[v4.0.10, v3.1.0].
    - Can only install one of: symfony/process[v4.0.11, v3.1.0].
    - Can only install one of: symfony/process[v4.0.12, v3.1.0].
    - Can only install one of: symfony/process[v4.0.2, v3.1.0].
    - Can only install one of: symfony/process[v4.0.3, v3.1.0].
    - Can only install one of: symfony/process[v4.0.4, v3.1.0].
    - Can only install one of: symfony/process[v4.0.5, v3.1.0].
    - Can only install one of: symfony/process[v4.0.6, v3.1.0].
    - Can only install one of: symfony/process[v4.0.7, v3.1.0].
    - Can only install one of: symfony/process[v4.0.8, v3.1.0].
    - Can only install one of: symfony/process[v4.0.9, v3.1.0].
    - Installation request for symfony/process (locked at v3.1.0) -> satisfiable by symfony/process[v3.1.0].


Installation failed, reverting ./composer.json to its original content.
@freekmurze
Copy link
Member

Probably you have another package in your global dependencies that are preventing this package from being installed globally.

If you need those other dependencies, take a look at https://github.com/consolidation/cgr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants