Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
curl 7.22.0 (i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtmp rtsp smtp smtps telnet tftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
root@night:/home/nick/node/sunsetvote# curl -v localhost:3000/helloworld
* About to connect() to localhost port 3000 (#0)
* Trying 127.0.0.1... connected
> GET /helloworld HTTP/1.1
> User-Agent: curl/7.22.0 (i686-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: localhost:3000
> Accept: */*
>
< HTTP/1.1 500 Internal Server Error
< X-Powered-By: Express
< Content-Type: text/html; charset=utf-8
< Content-Length: 1325
< ETag: "1814941232"
< Date: Mon, 23 Jun 2014 19:57:25 GMT
< Connection: keep-alive
<
<!DOCTYPE html><html><head><title></title><link rel="stylesheet" href="/stylesheets/style.css"></head><body><h1>Failed to lookup view &quot;helloworld&quot; in views directory &quot;/home/nick/node/sunsetvote/views&quot;</h1><h2></h2><pre>Error: Failed to lookup view &quot;helloworld&quot; in views directory &quot;/home/nick/node/sunsetvote/views&quot;
at Function.app.render (/home/nick/node/sunsetvote/node_modules/express/lib/application.js:492:17)
at ServerResponse.res.render (/home/nick/node/sunsetvote/node_modules/express/lib/response.js:802:7)
at Object.handle (/home/nick/node/sunsetvote/routes/index.js:11:7)
at next_layer (/home/nick/node/sunsetvote/node_modules/express/lib/router/route.js:103:13)
at Route.dispatch (/home/nick/node/sunsetvote/node_modules/express/lib/router/route.js:107:5)
at /home/nick/node/sunsetvote/node_modules/express/lib/router/index.js:205:24
at Function.proto.process_params (/home/nick/node/sunsetvote/node_modules/express/lib/router/index.js:269:12)
at next (/home/nick/node/sunsetvote/node_modules/express/lib/router/index.js:199:19)
at next (/home/nick/node/sunsetvote/node_modules/express/lib/router/index.js:176:38)
* Connection #0 to host localhost left intact
* Closing connection #0
at Function.proto.handle (/home/nick/node/sunsetvote/node_modules/express/lib/router/index.js:151:3)</pre></body></html>root@night:/home/nick/node/sunsetvote#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.