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’ll 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