#7398·novu

Bug Report: <Inbox /> not displaying

Author: StorytellerCZCreated Dec 27, 2024Updated Aug 10, 2026
LabelsbugInbox

Description

When trying to get the Inbox component running on my Meteor + React setup I get the following error:

Error: Client-only API called on the server side. Run client-only code in onMount, or conditionally run client-only component with <Show>

I believe this to be related to this: https://github.com/solidjs/solid-start/issues/1679

Reproduction steps

  1. Create a new Meteor React application meteor create meteor-novu --typescript
  2. Add Novu Inbox meteor npm i --save @novu/react
  3. Add the Inbox component into any of the imports/ui components
  4. Run Meteor meteor

Expected behavior

Inbox should display or at the very least the usual default text of the rest of the application should show.

Actual Behavior with Screenshots

Blank page with the error in console (will be caught by error boundary if implemented):

image

Novu version

Novu SaaS

npm version

2.6.3

node version

22.11.0

Provide any additional context for the Bug.

As mentioned I think this is related to this bug: https://github.com/solidjs/solid-start/issues/1679
I tried to implement the Inbox also via @novu/js, but with the same result. The discussion in Solid suggest that it might be something specific in Vite and version mismatch over a monorepo. This would suggest that this might be a build issue. Meteor has the option to recompile NPM packages, but that did not help (but maybe I was targeting the wrong package).

Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

Have you read the Contributing Guidelines?

Are you willing to submit PR?

None