Closed zh4n7wm closed 3 weeks ago
把 yarn.lock 和 node_modules 删掉,重新安装依赖试试
把 yarn.lock 和 node_modules 删掉,重新安装依赖试试
重装还是会报相同的错误。
页面上点击下载之后,能成功下载,但页面会弹出下面的内容
项目根目录下创建一个_data
目录试试,我这边把这个目录删了之后会报下面的错误:
这个目录是用于本地kv数据库,所以这个目录就没有包含到git里面,但是你上面报的错误应该是跟kv这个包有关系,跟目录没啥关系
还是会报错,我也不知道为啥了
感谢,先 close 吧
你本地可以把下面这几行代码注释掉:
部署到deno deploy上面应该没这个问题,因为deno deploy自带kv数据库,不需要安装这个依赖
你本地可以把下面这几行代码注释掉:
部署到deno deploy上面应该没这个问题,因为deno deploy自带kv数据库,不需要安装这个依赖
本地运行时,注释掉就不会报错了,多谢
点击 下载 按钮,下载微信公众号文章时,报下面的错误