chatgpt-web-midjourney-proxy icon indicating copy to clipboard operation
chatgpt-web-midjourney-proxy copied to clipboard

本地运行失败

Open webliuxiang opened this issue 6 months ago • 1 comments

node版本是18.19.1 克隆代码到本地后,分别在根目录和service目录下执行pnpm install; 安装依赖项成功后,在service目录下通过运行pnpm start启动service后端项目;在根目录下通过运行pnpm dev启动前端项目; 在浏览器访问时页面一直在loading状态,控制台报错 Uncaught Error: A route named "music" has been added as a child of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor. at checkSameNameAsAncestor (vue-router.js?v=bce3fc90:1213:13) at addRoute (vue-router.js?v=bce3fc90:1003:13) at addRoute (vue-router.js?v=bce3fc90:1014:11) at vue-router.js?v=bce3fc90:1118:29 at Array.forEach () at createRouterMatcher (vue-router.js?v=bce3fc90:1118:10) at createRouter (vue-router.js?v=bce3fc90:2184:19) at index.ts:163:23

请教一下是缺少什么文件吗?还是代码要做修正才能正确运行? @Dooy

webliuxiang avatar May 24 '25 10:05 webliuxiang