Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Failed to install #1

Closed
austinkregel opened this issue Oct 22, 2016 · 9 comments
Closed

Failed to install #1

austinkregel opened this issue Oct 22, 2016 · 9 comments

Comments

@austinkregel
Copy link

Hello, I tried installing your package, however installation failed and I received the following message. I am using a fresh installation of Laravel 5.3. If any more information is needed/wanted about this, please let me know. :)

Using version ^1.0 for superbalist/laravel-google-cloud-storage
./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
    - Installation request for superbalist/laravel-google-cloud-storage ^1.0 -> satisfiable by superbalist/laravel-google-cloud-storage[1.0.0].
    - superbalist/laravel-google-cloud-storage 1.0.0 requires superbalist/flysystem-google-storage ^3.0 -> satisfiable by superbalist/flysystem-google-storage[3.0.0, 3.0.1, 3.0.2, 3.0.3].
    - superbalist/flysystem-google-storage 3.0.0 requires google/cloud ^0.8.0 -> satisfiable by google/cloud[v0.8.0].
    - superbalist/flysystem-google-storage 3.0.1 requires google/cloud ^0.8.0 -> satisfiable by google/cloud[v0.8.0].
    - superbalist/flysystem-google-storage 3.0.2 requires google/cloud ^0.8.0|^0.9.0 -> satisfiable by google/cloud[v0.8.0, v0.9.0].
    - superbalist/flysystem-google-storage 3.0.3 requires google/cloud ^0.8.0|^0.9.0 -> satisfiable by google/cloud[v0.8.0, v0.9.0].
    - google/cloud v0.8.0 requires google/auth 0.10 -> satisfiable by google/auth[v0.10].
    - google/cloud v0.9.0 requires google/auth 0.10 -> satisfiable by google/auth[v0.10].
    - Conclusion: don't install google/auth v0.10

@thebrubaker
Copy link

Had the same problem, forgot to composer remove websight/l5-google-cloud-storage

Not sure if you were using websight's package before, but it fixed the issue above for me.

@thebrubaker
Copy link

I think I also had to add composer require superbalist/flysystem-google-storage as well.

@markhilton
Copy link

Laravel 5.2

composer require superbalist/laravel-google-cloud-storage ‹system›
Using version ^1.0 for superbalist/laravel-google-cloud-storage
./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
- Installation request for superbalist/laravel-google-cloud-storage ^1.0 -> satisfiable by superbalist/laravel-google-cloud-storage[1.0.0].
- Conclusion: remove laravel/framework v5.2.45
- Conclusion: don't install laravel/framework v5.2.45
- superbalist/laravel-google-cloud-storage 1.0.0 requires illuminate/filesystem ^5.3 -> satisfiable by illuminate/filesystem[v5.3.0, v5.3.16, v5.3.4].
- don't install illuminate/filesystem v5.3.0|don't install laravel/framework v5.2.45
- don't install illuminate/filesystem v5.3.16|don't install laravel/framework v5.2.45
- don't install illuminate/filesystem v5.3.4|don't install laravel/framework v5.2.45
- Installation request for laravel/framework (locked at v5.2.45, required as 5.2.*) -> satisfiable by laravel/framework[v5.2.45].

Installation failed, reverting ./composer.json to its original content.

@matthewgoslett
Copy link
Contributor

@markhilton
It looks like you're using Laravel 5.2, but we when we developed this, we built it for 5.3 (or at least made 5.3 a dependency).
Any chance you can branch off and test compatibility with 5.2?
If so, we can lower the requirement here.

@matthewgoslett
Copy link
Contributor

@austinkregel
Can you give me the output of the following (when inside your project directory)
composer depends google/cloud
composer depends google/auth

@austinkregel
Copy link
Author

@matthewgoslett Sorry I didn't respond earlier, it seems like what @thebrubaker had the right idea. I thought I didn't have that package installed, but I guess I did. Which is what was causing my issues.

@matthewgoslett
Copy link
Contributor

No problem.
Ye that would cause a dependency conflict.
websight/l5-google-cloud-storage no longer uses flysystem-google-cloud-storage which this packages uses under the hood. It looks like they tie themselves to a specific version of google/cloud.

@tristan5293
Copy link

Laravel 5.2.43
laravel_5 2

can you support laravel 5.2 ? laravel 5.3 is too fresh

@austinkregel
Copy link
Author

I'm going to close this issue as my problems were resolved. @tristan5293 can you please make your own issue to continue the discussion there. Thanks :)

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

No branches or pull requests

5 participants