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 has been archived by the owner on Nov 22, 2024. It is now read-only.
following the initial installation instruction in angular.io (ng add):
ERROR in server.ts:18:25 - error TS2345: Argument of type '(filePath: string, options: Readonly<RenderOptions>, callback: (err?: Error | null | undefined, html?: string | undefined) =
> void) => void' is not assignable to parameter of type '(path: string, options: object, callback: (e: any, rendered?: string | undefined) => void) => void'.
Types of parameters 'options' and 'options' are incompatible.
Type '{}' is missing the following properties from type 'Readonly<RenderOptions>': req, bootstrap
18 server.engine('html', ngExpressEngine({
~~~~~~~~~~~~~~~~~
19 bootstrap: AppServerModule,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 }));
~~~~
server.ts:37:3 - error TS2322: Type 'Express' is not assignable to type 'void'.
37 return server;
~~~~~~~~~~~~~~
server.ts:45:10 - error TS2339: Property 'listen' does not exist on type 'void'.
45 server.listen(port, () => {
The text was updated successfully, but these errors were encountered:
@saranglohar this should be fixed. If you had an issue with @nguniversal/express-engine@10.0.1 you should open a new github issue with the full details
following the initial installation instruction in angular.io (
ng add
):The text was updated successfully, but these errors were encountered: