Skip to content

Module '"@logtide/browser"' has no exported member 'initLogtide'. #9

Closed

Description

@Ryiski

As per the docs for react, it should have a initLogtide export

https://logtide.dev/integrations/react/

Activity

  1. Polliog commented on Jun 28, 2026

    @Polliog
    Contributor

    Thanks for the report — confirmed. @logtide/browser wasn't exporting initLogtide even though the React docs reference it.

    Fixed in #10: @logtide/browser now exports initLogtide (matching the docs), so import { initLogtide } from '@logtide/browser' works. Shipping in v0.10.0.

  2. Ryiski commented on Jun 30, 2026

    @Ryiski
    Author

    @Polliog In other news related to "no exported member", LogtideErrorBoundary is missing too. 🤭

  3. Polliog commented on Jun 30, 2026

    @Polliog
    Contributor

    Good catch on LogtideErrorBoundary too. 🙏 Rather than fix these one-by-one, I audited every package's exports against the docs.

    Shipped in v0.11.0 (#11):

    • @logtide/browser now exports LogtideErrorBoundary (React is an optional peer dep).
    • @logtide/nuxt now implements the documented useLogtide() composable (+ honors apiUrl/apiKey/tracesSampleRate).
    • @logtide/cli now accepts the documented --path and --apiKey flags.

    The other framework packages' exports checked out clean. A few remaining inaccuracies are on the docs site itself (separate repo) and are being addressed there.

  4. Polliog commented on Jun 30, 2026

    @Polliog
    Contributor

    Docs fixed too (logtide-dev/logtide.dev#4). 🙏

  5. added
    bugSomething isn't working
    documentationImprovements or additions to documentation
    on Jun 30, 2026
  6. Ryiski commented on Jul 1, 2026

    @Ryiski
    Author

    @Polliog Thank you, you the best 🤗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions