-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Version
latest
node-version
latest
Link to minimal reproduction
No response
Step to reproduce
复现步骤:
- 使用 tiny init pro 命令创建一个 vue-pro 项目
- 进入 web 目录,执行 tiny start
- 浏览器访问 http://localhost:3031/
- 点击登录按钮一直转圈,没法登录
命令行控制台提示以下错误:
23:54:11 [vite] http proxy error:
Error: connect ECONNREFUSED 127.0.0.1:7001
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
怀疑是依赖后端服务,于是尝试以下解决方案:
- 进入 server 目录,执行 npm i
- 执行 npm run dev ,报错:
2023-06-26 23:54:54,128 ERROR 40990 nodejs.SequelizeConnectionRefusedError: connect ECONNREFUSED 127.0.0.1:3306
无果。
What is expected
No response
What is actually happening
No response
Any additional comments (optional)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working