microsoft / microsoft/ai-chat-protocol
Breaks Nuxt 3 with universal rendering
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 177
- Forks
- 27
- Avg merge
- 21d 22h
- Merged PRs (30d)
- 1
Description
Breaks Nuxt 3 with universal rendering.
When ssr:false is set, the error does not appear.
500
Invalid URL
at splitURL (C:\Projekte\Nuxt_AIChat_Auth\node_modules@microsoft\src\client.ts:71:18)
at AIChatProtocolClient (C:\Projekte\Nuxt_AIChat_Auth\node_modules@microsoft\src\client.ts:92:32)
at setup (C:\Projekte\Nuxt_AIChat_Auth\pages\index.js:50:20)
at _sfc_main.setup (C:\Projekte\Nuxt_AIChat_Auth\pages\index.js:287:23)
at callWithErrorHandling (C:\Projekte\Nuxt_AIChat_Auth\node_modules@vue\runtime-core\dist\runtime-core.cjs.js:196:19)
at setupStatefulComponent (C:\Projekte\Nuxt_AIChat_Auth\node_modules@vue\runtime-core\dist\runtime-core.cjs.js:7577:25)
at setupComponent (C:\Projekte\Nuxt_AIChat_Auth\node_modules@vue\runtime-core\dist\runtime-core.cjs.js:7538:36)
at renderComponentVNode (C:\Projekte\Nuxt_AIChat_Auth\node_modules@vue\server-renderer\dist\server-renderer.cjs.js:619:15)
at renderVNode (C:\Projekte\Nuxt_AIChat_Auth\node_modules@vue\server-renderer\dist\server-renderer.cjs.js:753:14)
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
Start at pages/index.js:50 and the splitURL call reported at @microsoft/src/client.ts:71, then reproduce with Nuxt 3 universal rendering and ssr:false disabled. Done means the application renders without the Invalid URL error during server-side rendering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxtjs, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100