#NOVU - INBOX - Next.js

1 messages · Page 1 of 1 (latest)

devout tundra
#

Hi everyone, im trying to use NOVU Inbox component on Next.js but its throwing an error - TypeError: Cannot read properties of undefined (reading 'request').
Could anyone help?

merry canyon
#

@devout tundra are you using Inbox in client component uding "use client" directive

devout tundra
#

yeah

merry canyon
#

Can you please share the nextjs and @novu/react version

devout tundra
#

Next.js v14.2.13
@novu/react v2.4.0

merry canyon
junior lavaBOT
#

@devout tundra, you just advanced to level 1!

devout tundra
#

Thanks Pawan, i found out that it was the issue with http. navigator.lock did not exist

summer cedar
#

@devout tundra how did you solve that? I double posted not realizing you had posted this

#

and I'm having the same problem

#

or a similar one at least

merry canyon
#

@devout tundra

it was the issue with http. navigator.lock did not exist

Was this issue related to @novu/react

devout tundra
#

@summer cedar @novu/react is using websockets for live updates. which needs project to be run with HTTPS. try running your project with https.