WebFund 2015W: Assignment 8

From Soma-notes
Revision as of 17:56, 15 March 2015 by Soma (talk | contribs) (Created page with "'''This assignment is not yet finalized.''' ===Error 1=== The following message was printed at the terminal prompt after running <tt>bin/www</tt>: <pre> /home/soma/Document...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This assignment is not yet finalized.


Error 1

The following message was printed at the terminal prompt after running bin/www:

/home/soma/Documents/Class/WebFund/2015W/ajax-notes-broken/node_modules/mongodb/lib/mongodb/mongo_client.js:409
          throw err
                ^
Error: failed to connect to [localhost:27017]
    at null.<anonymous> (/home/soma/Documents/Class/WebFund/2015W/ajax-notes-broken/node_modules/mongodb/lib/mongodb/connection/server.js:555:74)
    at emit (events.js:106:17)
    at null.<anonymous> (/home/soma/Documents/Class/WebFund/2015W/ajax-notes-broken/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:156:15)
    at emit (events.js:98:17)
    at Socket.<anonymous> (/home/soma/Documents/Class/WebFund/2015W/ajax-notes-broken/node_modules/mongodb/lib/mongodb/connection/connection.js:534:10)
    at Socket.emit (events.js:95:17)
    at net.js:440:14
    at process._tickCallback (node.js:419:13)


Error 2

You are logged in and you try to go to http://localhost:3000/ (the top-level page). Rather than redirecting to /notes the load just hangs.

Error 3