Skip to content

How to deploy app with react-redux-firebase as a firebase function? #576

@salmazov

Description

@salmazov

I want to deploy my app as SSR-ready via using firebase function.

But I got an error:
`i functions: preparing functions directory for uploading...

Error: Error occurred while parsing your function triggers.

undefined`

It's very difficult to understand what I do wrong. But when I comment compose function - it works.
// ,
// compose(
// applyMiddleware(
// thunk.withExtraArgument(getFirebase) // Pass getFirebase function as extra argument
// ),
// reactReduxFirebase(firebase.firebase, rrfConfig), // pass in firebase instance instead of config
// window.REDUX_DEVTOOLS_EXTENSION && window.REDUX_DEVTOOLS_EXTENSION()
// reduxFirestore(firebase) // <- needed if using firestore
// applyMiddleware(...middleware) // to add other middleware
// )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions