Skip to content

WEBPACK_IMPORTED_MODULE_3_firebase_database___default(...) is not a function #5

@bangive

Description

@bangive

When i try to run the app not working, the console shown error:


Uncaught TypeError: __WEBPACK_IMPORTED_MODULE_3_firebase_database___default(...) is not a function
    at new Home (index.js?8efe:22)
    at createComponent (preact.js?10a9:220)
    at buildComponentFromVNode (preact.js?10a9:333)
    at idiff (preact.js?10a9:136)
    at innerDiffNode (preact.js?10a9:178)
    at idiff (preact.js?10a9:154)
    at diff (preact.js?10a9:111)
    at renderComponent (preact.js?10a9:292)
    at setComponentProps (preact.js?10a9:252)
    at buildComponentFromVNode (preact.js?10a9:338)

The error indicate this line this.firebaseDB = database(); in Home component

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