Hi, fengmk2
I installed your todo demo in https://github.com/fengmk2/todo and it could work well now, but I met one strange issue, as following, I used putty/securecrt to run the server.js remotely, when I was still in the console, it worked fine, but when I log out shell, it would display following information: Error: failed to locate view "index" at Function.compile (/home/phil/node_modules/express/lib/view.js:61:15) at ServerResponse._render (/home/phil/node_modules/express/lib/view.js:417:18) at ServerResponse.render (/home/phil/node_modules/express/lib/view.js:318:17) at /home/phil/todo/controllers/todo.js:8:13 at Query.<anonymous> (/home/phil/node_modules/mysql/lib/client.js:108:11) at Query.emit (events.js:64:17) at Query._handlePacket (/home/phil/node_modules/mysql/lib/query.js:51:14) at Client._handlePacket (/home/phil/node_modules/mysql/lib/client.js:312:14) at Parser.<anonymous> (native) at Parser.emit (events.js:67:17)
Could you kindly tell me the reason and how to resolve it? Thanks a lot and look forward to your answer. Demo url:http://122.4.75.242:8000/