Skip to content

Conversation

@bshaffer
Copy link
Contributor

@bshaffer bshaffer commented Jul 14, 2025

Attempting to fix the "ERROR: Dangerous symbolic link path was ignored" composer install error:

 - Installing rize/uri-template (0.4.0): Extracting archive
      Install of google/cloud-tools failed
  Error: Failed to extract google/cloud-tools: (2) C:\ProgramData\Chocolatey\bin\7z.EXE x -bb0 -y D:\a\google-cloud-php\google-cloud-php\vendor\composer\tmp-59d80e2e382bd9574e6124b38b48cd07.zip -oD:\a\google-cloud-php\google-cloud-php\vendor\composer\b80e7916
  
  ERROR: Dangerous symbolic link path was ignored : GoogleCloudPlatform-php-tools-066cfd0\src\Fixers\ClientUpgradeFixer\examples : ..\..\..\examples\
  
  
  In ZipDownloader.php line 193:
                                                                                                                         
    Failed to extract google/cloud-tools: (2) C:\ProgramData\Chocolatey\bin\7z.EXE x -bb0 -y D:\a\google-cloud-php\goog  
    le-cloud-php\vendor\composer\tmp-59d80e2e382bd9574e6124b38b48cd07.zip -oD:\a\google-cloud-php\google-cloud-php\vend  
    or\composer\b80e7916                                                                                                 
                                                                                                                         
    ERROR: Dangerous symbolic link path was ignored : GoogleCloudPlatform-php-tools-066cfd0\src\Fixers\ClientUpgradeFix  
    er\examples : ..\..\..\examples\                                                                                     
                                                                                                                         
  
  update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--no-autoloader] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-m|--minimal-changes] [--patch-only] [-i|--interactive] [--root-reqs] [--bump-after-update [BUMP-AFTER-UPDATE]] [--] [<packages>...]

@bshaffer bshaffer requested a review from a team as a code owner July 14, 2025 21:17
@bshaffer bshaffer changed the title fix: examples symlink fix: error from "examples" symlink (ERROR: Dangerous symbolic link path was ignored) Jul 14, 2025
Hectorhammett
Hectorhammett previously approved these changes Jul 14, 2025
@bshaffer bshaffer merged commit 008424a into main Jul 14, 2025
10 checks passed
@bshaffer bshaffer deleted the fix-examples-symlink branch July 14, 2025 22:07
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

Successfully merging this pull request may close these issues.

3 participants