[问题] - 按照文档初始化启动项目失败
Description
按照文档初始化项目的流程,操作到
@Connell-z 你好,可以尝试下先跑 pnpm schema:build 命令
@fengstats 感谢,跟着文档,能够成功初始化数据库启动, 过程中vscode终端没报错,可控制台报错:http.ts:19 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'data')
控制台指的是浏览器控制台吗?启动后端 + 前端服务后,开发页面等待加载一会资源,如果页面正常显示并可以使用就不需要管了
我也是遇见这个问题,你是跑 pnpm schema:build 命令就行了吗?
@iheai47 最新代码中已经将 pnpm schema:build 添加到 pnpm db:init 命令中了,按照项目文档步骤来说应该不会有这个问题,出现问题将自己对应的问题截图发出来,包括复现步骤等等,问题描述越清晰,解决越快~
@=
@iheai47 最新代码中已经将
pnpm schema:build添加到pnpm db:init命令中了,按照项目文档步骤来说应该不会有这个问题,出现问题将自己对应的问题截图发出来,包括复现步骤等等,问题描述越清晰,解决越快~
我已经重新拉取代码解决了 谢谢!
@iheai47 解决就好 😊
@iheai47 解决就好 😊
我可以问一个比较小白的问题吗 我作为一个学生 之前学过vue2.0 和若依这样的前后端分离的springboot集成框架。 在面对earthworm这个项目我是不是应该去学习v3.0和nuxt的才能熟悉这整个项目
@iheai47 你好~ Earthworm 主要技术框架就是了两个
- 前端 nuxt(其实就是 Vue3)
- 后端 nest
如果你只是想熟悉项目学习,在 V2 的基础上,将 V3 的文档简单过一遍,对其中案例自己动手写点 demo 玩玩,就可以来看代码了,项目的整体难度其实并不高的,后端也是同理~
@fengstats 非常谢谢你!!
@fengstats 我重新拉了一遍项目,按照文档能一路配置下来,中途没有报错;但前端启动的时候有如下报错
你是不是只启动了前端, 没有启动后端? 不光要 pnpm dev:client 还有重新开个终端启动 pnpm dev:serve
apple m2 node 20.11.0 pnpm 8.3.0 docker 25.0.3
I had finished step 1 ~step 3,and it was working.
But there was a error when i run the step 4 - pnpm db:init.
How can i solve this error?
apple m2 node 20.11.0 pnpm 8.3.0 docker 25.0.3
I had finished step 1 ~step 3,and it was working.
But there was a error when i run the step 4 - pnpm db:init.
How can i solve this error?
Check if the first step, Install Dependencies, has been correctly executed, whether the project contains the node_modules folder, and if it includes the tsup folder.
apple m2 node 20.11.0 pnpm 8.3.0 docker 25.0.3 I had finished step 1 ~step 3,and it was working.
But there was a error when i run the step 4 - pnpm db:init.
How can i solve this error?
Check if the first step, Install Dependencies, has been correctly executed, whether the project contains the node_modules folder, and if it includes the tsup folder.
![]()
I had reinstalled the dependencies,But there was only the tsup@type folder in node_modules.
But there was a error when i run the step 4 - pnpm db:init.
How can i solve this error?