amphp / websocket-client

Async WebSocket client for PHP based on Amp.
https://amphp.org/websocket-client
MIT License
148 stars 18 forks source link

Error while installing in a Laravel 8 Project #38

Closed thecyrilcril closed 2 years ago

thecyrilcril commented 2 years ago

Setup

 19/21 [=========================>--]  90%    Failed to extract amphp/websocket-client: (2) "C:\Program Files\7-Zip\7z.EXE" x -bb0 -y C:\wamp64\www\etradexchange-api\vendor\composer\tmp-6af2ca5d53f3e85f2ecd39c2fd21b507 -oC:\wamp64\www\etradexchange-api\vendor\composer\792c342b

ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\wamp64\www\etradexchange-api\vendor\composer\792c342b\amphp-websocket-client-173b541\docs\asset

    The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
    Unzip with 7z command failed, falling back to ZipArchive class
kelunik commented 2 years ago

Thanks for the report, https://github.com/amphp/websocket-client/commit/bcf5262e66abec420896a7893b7a08e9e2e655e8 should fix this, could you please try with dev-master?

thecyrilcril commented 2 years ago

@kelunik works like a charm 👌

λ composer require amphp/websocket-client "dev-master"
Info from https://repo.packagist.org: #StandWithUkraine
./composer.json has been updated
Running composer update amphp/websocket-client
Loading composer repositories with package information
Updating dependencies
Lock file operations: 21 installs, 0 updates, 0 removals
  - Locking amphp/amp (v2.6.2)
  - Locking amphp/byte-stream (v1.8.1)
  - Locking amphp/cache (v1.5.0)
  - Locking amphp/dns (v1.2.3)
  - Locking amphp/hpack (v3.1.1)
  - Locking amphp/http (v1.6.3)
  - Locking amphp/http-client (v4.6.2)
  - Locking amphp/parser (v1.0.0)
  - Locking amphp/process (v1.1.3)
  - Locking amphp/serialization (v1.0.0)
  - Locking amphp/socket (v1.2.0)
  - Locking amphp/sync (v1.4.2)
  - Locking amphp/websocket (v1.0.2)
  - Locking amphp/websocket-client (dev-master bcf5262)
  - Locking amphp/windows-registry (v0.3.3)
  - Locking cash/lrucache (1.0.0)
  - Locking daverandom/libdns (v2.0.2)
  - Locking kelunik/certificate (v1.1.2)
  - Locking league/uri (6.5.0)
  - Locking league/uri-interfaces (2.3.0)
  - Locking league/uri-parser (1.4.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 21 installs, 0 updates, 0 removals
  - Downloading amphp/websocket-client (dev-master bcf5262)
  - Installing daverandom/libdns (v2.0.2): Extracting archive
  - Installing amphp/amp (v2.6.2): Extracting archive
  - Installing amphp/byte-stream (v1.8.1): Extracting archive
  - Installing amphp/process (v1.1.3): Extracting archive
  - Installing amphp/windows-registry (v0.3.3): Extracting archive
  - Installing amphp/parser (v1.0.0): Extracting archive
  - Installing amphp/sync (v1.4.2): Extracting archive
  - Installing amphp/serialization (v1.0.0): Extracting archive
  - Installing amphp/cache (v1.5.0): Extracting archive
  - Installing amphp/dns (v1.2.3): Extracting archive
  - Installing amphp/hpack (v3.1.1): Extracting archive
  - Installing league/uri-interfaces (2.3.0): Extracting archive
  - Installing league/uri (6.5.0): Extracting archive
  - Installing cash/lrucache (1.0.0): Extracting archive
  - Installing league/uri-parser (1.4.1): Extracting archive
  - Installing kelunik/certificate (v1.1.2): Extracting archive
  - Installing amphp/socket (v1.2.0): Extracting archive
  - Installing amphp/websocket (v1.0.2): Extracting archive
  - Installing amphp/http (v1.6.3): Extracting archive
  - Installing amphp/http-client (v4.6.2): Extracting archive
  - Installing amphp/websocket-client (dev-master bcf5262): Extracting archive
4 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: facade/ignition
Discovered Package: fruitcake/laravel-cors
Discovered Package: laravel/fortify
Discovered Package: laravel/sail
Discovered Package: laravel/sanctum
Discovered Package: laravel/scout
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Discovered Package: teamtnt/laravel-scout-tntsearch-driver
Package manifest generated successfully.
105 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan vendor:publish --tag=laravel-assets --ansi
No publishable resources for tag [laravel-assets].
Publishing complete.
kelunik commented 2 years ago

Thanks for confirming, tagged as v1.0.1.