vercel-labs / vercel-labs/knowledge-agent-template
Error after "bun run dev"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1k
- Forks
- 131
- PR merge metrics
- No merged PRs in 30d
Description
Environment
Hi,
I do a "bun run dev", then go to my browser https://localhost:3000, I get the following error:
H3Error {▼ message: "null is not an object (evaluating 'currentRenderingInstance.ce')", cause: TypeError {▼}, statusCode: 500, fatal: false, unhandled: false, statusMessage: undefined, data: undefined, originalLine: 217, originalColumn: 26, line: 71, column: 19, sourceURL: 'C:\\nxdh\\workspace\\knowledge-agent-template\\node_modules\\.bun\\h3@1.15.5\\node_modules\\h3\\dist\\index.mjs', stack: "null is not an object (evaluating 'currentRenderingInstance.ce')\n" + 'at renderSlot (C:/nxdh/workspace/knowledge-agent-template/node_modules/.bun/@vue+runtime-core@3.5.29/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:3211:7)\n' + 'at renderComponentRoot (C:/nxdh/workspace/knowledge-agent-template/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:4499:16)\n' + 'at renderComponentSubTree (C:/nxdh/workspace/knowledge-agent-template/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:756:28)\n' + 'at _sfc_ssrRender (C:/nxdh/workspace/knowledge-agent-template/node_modules/.bun/@nuxt+ui@4.5.0+a47e4899328a6eb9/node_modules/@nuxt/ui/dist/runtime/components/App.vue:58:53)\n' + 'at renderComponentSubTree (C:/nxdh/workspace/knowledge-agent-template/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js:739:9)\n' + 'at _sfc_ssrRender (C:/nxdh/workspace/knowledge-agent-template/apps/app/app/app.vue:77:54)\n' + 'at renderComponentSubTree (C:/nxdh/workspace/knowledge-agent-template/node_modules/@vue/server-r'... 503 more characters, __nuxt_error: true, status: [Getter] statusText: [Getter] }
Could you please help ? Thanks !
Regards,
Nicolas
Version
v0.1.0
Reproduction
- bun run dev
- go to browser https://localhost:3000
- I get the error shown in description
Description
Error on login page
Additional context
Windows 11, Google Chrom
Logs
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with bun run dev and open https://localhost:3000, then inspect apps/app/app/app.vue and the SSR stack involving Nuxt UI's App.vue. Compare the login-page render path with the reported Vue error; done means the login page loads without the 500 error on the stated setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- authentication, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100