Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug Report: failing to generate SDKs using example.php #666

Closed
2 tasks done
Ananya2001-an opened this issue Jun 10, 2023 · 3 comments
Closed
2 tasks done

馃悰 Bug Report: failing to generate SDKs using example.php #666

Ananya2001-an opened this issue Jun 10, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Ananya2001-an
Copy link

馃憻 Reproduction steps

After installing dependencies using composer ran this:

docker run --rm -v $(pwd):/app -w /app php:7.4-cli php example.php

馃憤 Expected behavior

On running the above docker command we should get a dir called "examples" in the root with all the SDKs.

馃憥 Actual Behavior

image

The examples dir is not getting created because of the failing curl request... moreover echoeing the success message at the end is misleading, so should put it inside a condition or something

馃幉 Appwrite version

Version 0.11.x

馃捇 Operating system

Windows

馃П Your Environment

No response

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@Ananya2001-an Ananya2001-an added the bug Something isn't working label Jun 10, 2023
@lohanidamodar
Copy link
Member

@Ananya2001-an Please try using php 8.1

docker run --rm -v $(pwd):/app -w /app php:8.1-cli php example.php

@Ananya2001-an
Copy link
Author

@lohanidamodar
Copy link
Member

thanks @lohanidamodar it works now! Maybe you should update the docs here: appwrite/sdk-for-cli@b461997/README.md?plain=1#L225

Thanks, will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants