temporalio / temporal-polyglot

35 stars 8 forks source link

[Bug] no able to run app-php #8

Open antmendoza opened 2 years ago

antmendoza commented 2 years ago

What are you really trying to do?

I am trying to run the code following the README.md file and when I run php app.php simple I face the following error on my console

Stack trace:
#0 /temporal/temporal-polyglot/app-php/app.php(28): Temporal\Client\GRPC\BaseClient::create('localhost:7233')
#1 {main}
  thrown in /temporal/temporal-polyglot/app-php/vendor/temporal/sdk/src/Client/GRPC/BaseClient.php on line 57

Fatal error: Uncaught Error: Class "Grpc\ChannelCredentials" not found in /temporal/temporal-polyglot/app-php/vendor/temporal/sdk/src/Client/GRPC/BaseClient.php:57
Stack trace:
#0 /temporal/temporal-polyglot/app-php/app.php(28): Temporal\Client\GRPC\BaseClient::create('localhost:7233')
#1 {main}
  thrown in /temporal/temporal-polyglot/app-php/vendor/temporal/sdk/src/Client/GRPC/BaseClient.php on line 57

Describe the bug

Minimal Reproduction

Environment/Versions

Additional context