Skip to content

Hebrew filename causes composer install error #3179

@heggemsnes

Description

@heggemsnes

Description

The hebrew filename in /tests/_data/templates/ causes composer require wp-graphql/wp-graphql to fail on my system:

Failed to extract wp-graphql/wp-graphql: (50) '/usr/bin/unzip' -qq '/Users/sigurdheggemsnes/Documents/GitHub/Local/odt/app/public/wp-content/vendor/composer/tmp-a58962bb4a0560b633defac71bbf8065.zip' -d '/Users/sigurdheggemsnes/Documents/GitHub/Local/odt/app/public/wp-content/vendor/composer/83f5e8d8'

error:  cannot create /Users/sigurdheggemsnes/Documents/GitHub/Local/odt/app/public/wp-content/vendor/composer/83f5e8d8/wp-graphql-wp-graphql-a44eef4/tests/_data/templates/ά??????ά-ήΣ??.php
        Illegal byte sequence
        

Because of this I receive this error:

WPGraphQL appears to have been installed without it's dependencies. It will not work properly until dependencies are installed. This likely means you have cloned WPGraphQL from Github and need to run the command `composer install`.

Steps to reproduce

Run composer require wp-graphql/wp-graphql in the terminal

Additional context

Using WP local

WPGraphQL Version

1.27.2

WordPress Version

6.6.1

PHP Version

8.3.8

Additional environment details

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have disabled ALL plugins except for WPGraphQL.

  • Yes
  • My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: author responseAdditional Pending information from the author has been requested from the author

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions