PatrickJS / ng4-universal-demo

21 stars 5 forks source link

Express engine parameter error #8

Closed KissBalazs closed 7 years ago

KissBalazs commented 7 years ago

ERROR in /home/forestg/projects/ng4-universal-demo/ng4-universal-demo/src/modules/ng-express-engine/express-engine.ts (104,7): Supplied parameters do not match any signature of call target.

it seems, that the Send() methods parameter has changed. But if I replace

callback(null,state.renderToString()); with callback(state.renderToString());

the page only renders the javascript code as raw html output.

without the change, even though the build says there is and error, the app seems to be working just fine.

zeves095 commented 7 years ago

Only one questuion: grep -ir express-engine ./src/* has null result...

what for "express-engine.ts" file - if it not imported from anywhere ?

PatrickJS commented 7 years ago

this should be fixed now