L-Leite / cso2-webapp

MOVED TO https://github.com/L-Leite/cso2-master-server . A web frontend to handle users for a CSO2 master server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php module is installed but instead of opening the page it is downloading php

IGNRexI opened this issue · comments

commented

php module is installed but instead of opening the page it is downloading php

(node:4456) UnhandledPromiseRejectionWarning: Error: Module "php" does not provide a view engine.
at new View (F:\cso2\server_vfv\node_modules\express\lib\view.js:85:13)
at Function.render (F:\cso2\server_vfv\node_modules\express\lib\application.js:572:12)
at ServerResponse.render (F:\cso2\server_vfv\node_modules\express\lib\response.js:1008:7)
at F:\cso2\server_vfv\webapp\dist\controller\web.js:204:17
at Generator.next ()
at fulfilled (F:\cso2\server_vfv\webapp\dist\controller\web.js:4:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:4456) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:4456) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
info: GET /home.php 200 81.390 ms - 15753