Appwrite init 函数返回“Error ENOENT”
我正在尝试使用 Appwrite 函数设置 cron 作业。 我已经设置了 appwrite cli,其他一切都工作正常,但是当我尝试使用“appwrite init 函数”创建函数时,出现错误,指示我打开我的计算机上不存在的 readme.md 文件。
问题是,当我在 Chrome 上打开我的 appwrite(backend) 帐户时,我看到了我尝试使用 cli 创建的函数。
请问有什么帮助吗?
I am trying to set up a cron job using Appwrite functions.
I already setup appwrite cli and every other thing works fine but when I try to create a function using "appwrite init function", I get an error directing me to open up a readme.md file that does not exist on my computer.
The thing is, when I open up my appwrite(backend) account on Chrome, I see the function I tried creating using cli.
Any help, please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Appwrite 维护者在这里。我们已经意识到这个问题,并正在努力解决这个问题,如 github 问题 https ://github.com/appwrite/sdk-for-cli/issues/30
作为临时解决方法,请使用 WSL。
Appwrite maintainer here. We're aware of this issue and working on it as mentioned in out github issue https://github.com/appwrite/sdk-for-cli/issues/30
As a temporary workaround please use WSL.
这是您在Windows上开发时遇到的问题,我建议您使用WSL2进行appwrite功能开发。请按照此处的步骤在 Windows 上安装 wsl2
安装后,使用 linux 安装脚本安装 appwrite cli
确保安装后登录,然后可以初始化项目并创建函数。
一切都很适合我。
This is a problem you encounter when developing on windows,I suggest using WSL2 for your appwrite function development. Follow the steps here to Install wsl2 on windows
After istallation, install appwrite cli with the linux install script
Make sure you login after installation, you can then initialize your project and create your function.
everthing works perfectly for me.