Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Error in boot-server.tsx for react-redux app when deploying to Azure  #917

@tonven

Description

@tonven

Hi. I got this error when I try to deploy fresh react-redux app.
`ERROR in [at-loader] ./ClientApp/boot-server.tsx:43:25 TS2345: Argument of type '{ html: string; globals: { initialReduxState: ApplicationState; }; }' is not assignable to parameter of type 'RenderToStringResult | RedirectResult | PromiseLike'. Type '{ html: string; globals: { initialReduxState: ApplicationState; }; }' is not assignable to type 'PromiseLike'. Property 'then' is missing in type '{ html: string; globals: { initialReduxState: ApplicationState; }; }'.

Can anyone help me with this?
Thank you in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions