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?
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
Nodefromsveltefire-- even before I try to use the actual component -- I get this error:My import looks like this:
I can import and use other components such as
SignedInwithout issue -- butNodeandNodeListthrow this error. I have tried this in+layout.sveltein the root of my application as well as+page.svelteat 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?