You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Repository navigation
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
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!
changed the title [-]Error boot-server.tsx for react-redux app when deploying to Azure [/-][+]Error in boot-server.tsx for react-redux app when deploying to Azure [/+]on May 4, 2017
Activity
[-]Error boot-server.tsx for react-redux app when deploying to Azure [/-][+]Error in boot-server.tsx for react-redux app when deploying to Azure [/+]marcelush commentedon May 4, 2017
the problem might be
aspnet-prerenderingpackage, try usingaspnet-prerendering@2.0.3SteveSandersonMS commentedon May 4, 2017
Sorry for the inconvenience. This is now fixed as per discussion in #918 - just update to the latest
aspnet-prerenderingto get the fix.