TypeError: r is not a function Next.js 14 #68665
-
SummaryI have a streaming website using agora, https://stream-app-one.vercel.app/streaming-detail and I have this problem: TypeError: r is not a function when i run build in local, there is no error. Additional informationNo response ExampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 3 replies
-
|
HI, facing the same issue. Did you find any solution? |
Beta Was this translation helpful? Give feedback.
-
|
I am using agora-react-uikit with nextjs 14. Uikit was giving that error. |
Beta Was this translation helpful? Give feedback.
-
|
@jun-fajr I was able to work around UI kit by downgrading the Next.js to 14.1.4 version. |
Beta Was this translation helpful? Give feedback.
-
|
I have the same error and can't solve it |
Beta Was this translation helpful? Give feedback.
-
|
Same here, using agora-rtm-sdk version 1.4.5 and next js 14.2.8 |
Beta Was this translation helpful? Give feedback.
-
|
This did not work for me. Did anyone else manage to fix this error somehow. For me it is happening when rendering the squid router widget from my component. This is my repo. |
Beta Was this translation helpful? Give feedback.
-
|
I have the same problem, using "agora-chat-uikit": "^2.0.0", "next": "^16.0.7". Is there a solution for newer versions of next ? |
Beta Was this translation helpful? Give feedback.

@jun-fajr, I also encountered this issue starting yesterday, and downgrading from Next.js version 14.2.8 to 14.1.4 fixed it for me.