I took reference of node meilisearch template
And? What did you do exactly?
Installed Appwrite locally and prepared a tar.gz of the directory
Then created a function for it in php
What directory?
Sync with meilisearch
Someone told me that there might be issue with virtual path
How are you deploying the function? Did you manually create an archive and upload in the Appwrite console? If so, something might have been wrong with how you created the archive
The best thing to do is start with the starter template whether on git or the CLI. Deploy that and make sure that works. Then, iterate on the code
Ok will try that
anyone?
Did you use the CLI to initialize the code?
Yes
What exactly did you do?
Appwrite init project
Appwrite init functions
Appwrite deploy functions
And what's the function code that was deployed?
And what's the error now?
This code
And same error
Can you perform the same operation with the code above? In your system locally
Coz I deployed the same in appwrite cloud
And getting the same error
There might be some mistakes in my utils.php code
Recommended threads
- Function's Static IP
Is it possible to have static. IP Address instead of Dynamic IP for getting the IP Address whitelist
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- [SOLVED] Unable to push function from AP...
When trying to push functions from Gitlab CI (with an API KEY and using the CLI), i saw that i was unable to push functions. ``` $ appwrite client --endpoint $...