Skip to content

Cannot use <Node> component #159

Open
@likeablegeek

Description

@likeablegeek

I'm trying to use the Realtime Database using the <Node> component per the documentation here:

https://sveltefire.fireship.io/rtdb/node-component

But, when I import Node from sveltefire -- even before I try to use the actual component -- I get this error:

The requested module '/node_modules/.vite/deps/sveltefire.js?v=15231cb7' does not provide an export named 'Node'

My import looks like this:

import { SignedIn, Node } from 'sveltefire'

I can import and use other components such as SignedIn without issue -- but Node and NodeList throw this error. I have tried this in +layout.svelte in the root of my application as well as +page.svelte at the root or in other routes. It makes no difference.

I am making the assumption that Sveltefire is properly installed and working since i can use the user store, SignedIn, etc.

How can I approach debugging this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions