Closed JaviBonilla closed 3 years ago
@JaviBonilla Thank you for raising this :smiley:
https://github.com/appwrite/sdk-generator/pull/228 Should fix it :+1:
@christyjacob4 Great! Thanks.
There is another kind of issue, when the size of the code.tar.gz
is greater than the given in _APP_STORAGE_LIMIT
environment variable, the deployment fails and this warning (which doesn`t clearly point to the issue) is given.
Warning: Invalid argument supplied for foreach() in /usr/local/code/src/Parser.php on line 47
Could you try to replicate that?
@JaviBonilla Yes , I was able to replicate it and this PR https://github.com/appwrite/sdk-generator/pull/229 has a fix for that as well :smile:
Thanks for helping with the debugging
Thanks @christyjacob4
This fix is now available in the latest CLI release.
If the full file path where the code is located has a space character, i.e.
/home/javi/functions/analyze Image/
the functions createTag commandfails with this error.
Otherwise,
/home/javi/functions/analyzeImage/
, it works fine.