kratos V3 使用 kratos-admin 模板创建项目,启动 web 后使用 kratos run 运行服务会一直报错
作者: jyys01创建于 2026年7月28日更新于 2026年7月31日
标签bug
What happened:
When running the service with the command kratos run, the contents of the web/node_modules directory are scanned, which prevents kratos run from starting the service.
What you expected to happen:
During the debugging process in the same project, it is possible to run both the web page service with npm run dev and the backend service with kratos run at the same time.
内容来源: go-kratos/kratos