Superbalist / laravel-google-cloud-storage

A Google Cloud Storage filesystem for Laravel
MIT License
508 stars 145 forks source link

file could not be downloaded: failed to open stream: HTTP request failed #11

Closed wapnen closed 7 years ago

wapnen commented 7 years ago

hi im trying to install this package using composer but i keep getting the error below. other packages install fine. im using laravel 5.4 and php 7 - please clarify

[Composer\Downloader\TransportException] The "http://packagist.org/p/superbalist/flysystem-google-storage%240c65bb40 3c6b388c9e7f6fbc57ec3415932a3986ed69a3df9fd27874fe9d4b90.json" file could n ot be downloaded: failed to open stream: HTTP request failed!

matthewgoslett commented 7 years ago

It seems like this might have been a temporary packagist glitch, or perhaps network issue on your side?

I just did a fresh install test on my side:

➜  demos mkdir test
➜  demos cd test
➜  test composer require superbalist/laravel-google-cloud-storage
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)
Package operations: 20 installs, 0 updates, 0 removals
  - Installing symfony/finder (v3.2.7) Downloading: 100%
  - Installing paragonie/random_compat (v2.0.10) Loading from cache
  - Installing illuminate/contracts (v5.4.17) Downloading: 100%
  - Installing doctrine/inflector (v1.1.0) Downloading: 100%
  - Installing illuminate/support (v5.4.17) Downloading: 100%
  - Installing illuminate/filesystem (v5.4.17) Downloading: 100%
  - Installing psr/http-message (1.0.1) Loading from cache
  - Installing psr/log (1.0.2) Loading from cache
  - Installing monolog/monolog (1.22.1) Loading from cache
  - Installing guzzlehttp/psr7 (1.4.2) Loading from cache
  - Installing guzzlehttp/promises (v1.3.1) Loading from cache
  - Installing guzzlehttp/guzzle (6.2.3) Loading from cache
  - Installing psr/cache (1.0.1) Loading from cache
  - Installing firebase/php-jwt (v4.0.0) Loading from cache
  - Installing google/auth (v0.11.1) Loading from cache
  - Installing rize/uri-template (0.3.1) Loading from cache
  - Installing google/cloud (v0.20.2) Loading from cache
  - Installing league/flysystem (1.0.37) Loading from cache
  - Installing superbalist/flysystem-google-storage (4.0.2) Downloading: 100%
  - Installing superbalist/laravel-google-cloud-storage (1.0.2) Downloading: 100%
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
illuminate/support suggests installing symfony/process (Required to use the composer class (~3.2).)
illuminate/support suggests installing symfony/var-dumper (Required to use the dd function (~3.2).)
illuminate/filesystem suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (~1.0).)
illuminate/filesystem suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
google/cloud suggests installing google/gax (Required to support gRPC)
google/cloud suggests installing google/proto-client-php (Required to support gRPC)
google/cloud suggests installing james-heinrich/getid3 (Allows the Google Cloud Speech client to determine sample rate and encoding of audio inputs)
league/flysystem suggests installing league/flysystem-aws-s3-v2 (Allows you to use S3 storage with AWS SDK v2)
league/flysystem suggests installing league/flysystem-aws-s3-v3 (Allows you to use S3 storage with AWS SDK v3)
league/flysystem suggests installing league/flysystem-azure (Allows you to use Windows Azure Blob storage)
league/flysystem suggests installing league/flysystem-cached-adapter (Flysystem adapter decorator for metadata caching)
league/flysystem suggests installing league/flysystem-copy (Allows you to use Copy.com storage)
league/flysystem suggests installing league/flysystem-dropbox (Allows you to use Dropbox storage)
league/flysystem suggests installing league/flysystem-eventable-filesystem (Allows you to use EventableFilesystem)
league/flysystem suggests installing league/flysystem-rackspace (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/flysystem-sftp (Allows you to use SFTP server storage via phpseclib)
league/flysystem suggests installing league/flysystem-webdav (Allows you to use WebDAV storage)
league/flysystem suggests installing league/flysystem-ziparchive (Allows you to use ZipArchive adapter)
Writing lock file
Generating autoload files
wapnen commented 7 years ago

its fine, i restarted my pc and everything seems to work fine. thank you