vercel-labs / vercel-labs/knowledge-agent-template

Error after "bun run dev"

Open
#39 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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
  1. bun run dev
  2. go to browser https://localhost:3000
  3. I get the error shown in description
Description

Error on login page

Additional context

Windows 11, Google Chrom

Logs

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.