open-research-ANA icon indicating copy to clipboard operation
open-research-ANA copied to clipboard

Can't ran the npx command successfully

Open linxuai opened this issue 9 months ago • 1 comments

I was able to start the agent successfully, but when I ran the command npx copilotkit@latest dev --port 8123, I encountered the following error. I’ve tried several approaches to modify the dependencies, but the issue persists. Could you please provide some suggestions to resolve this? Thanks in advance!


> Need to install the following packages:
> [email protected]
> Ok to proceed? (y) y
> 
>     SyntaxError: The requested module '@trpc/client' does not provide an export named 
>     'unstable_httpBatchStreamLink'
> 

linxuai avatar Mar 28 '25 05:03 linxuai

hello! I am having the same issue: when i ran: npx copilotkit@latest dev --port 8123 I got: SyntaxError: The requested module '@trpc/client' does not provide an export named 'unstable_httpBatchStreamLink' The 'unstable_httpBatchStreamLink' might have changed into 'httpBatchStreamLink' in the latest version of trpc, but i might couldn't replace that code locally, it seemed like it was running script on the server sincerely hope you fix this issue! thanks a lot!

0x0addc001 avatar Mar 30 '25 09:03 0x0addc001