[BUG] 阿里云ESA部署后初始化报错

Cerrado
#159 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Ya se ha fusionado un pull request relacionado.

  • #163 de @PIKACHUIM — fusionado

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
50/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
backend, cloud

Línea de trabajo

The reporter suspects the EdgeKV binding in esa-entry.ts lacks a list method that the init path calls on first run with the openlist KV namespace. Start by finding where esa-entry.ts defines or wraps the KV object and where init lists keys, then compare that with the methods the Alibaba Cloud ESA EdgeKV API provides. Done means a first deployment to ESA initializes without the error. The error text is only in a screenshot, so reproduce it locally first if you can.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug
请确认以下事项
  • 我确认描述清晰有礼貌,已提供必要诊断信息,在最新版本上可以复现。
  • 我确认已经查过相关文档和已有问题和讨论,本次反馈并非是重复提问。
  • 我确认这是Worker项目问题,并非网络和操作导致,也不是Go版的问题。
  • 我确认已阅读开源许可/免责条款/使用政策,理解使用的风险自行承担。
版本(必填)

No response

平台(必填)

Alibaba Cloud ESA

DB_FORMAT(必填)

map(整对象 JSON)

DB_DRIVER(必填)

auto

存储驱动(必填)

初始化报错

问题描述(必填)

在阿里云KV中创建openlist后部署,第一次运行init时报错

报错信息(必填)

看报错记录,应该是esa-entry.ts文件中EdgeKV中少了 list 接口

Image
相关配置(必填)

配置JWT_SECRET和创建名为openlist的kv

复现链接(可选)

No response

Lenguaje dominante
TypeScript
Estrellas
710
Forks
1.3k
Merge medio
2 d 6 h
PR fusionados (30 d)
20

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OpenListTeam/OpenList-Worker

Todos los issues de OpenListTeam/OpenList-Worker

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.