Wednesday, 26 April 2017

Unhandled rejection error: invalid input syntax for integer: "viewname"

I'm having an issue with this view it was working yesterday but now it wont even get to the next route after todo (eg http://localhost:3000/todo/new) . my github link to my test app is https://github.com/Frosty21/node-Todo

This is the error that comes up

Unhandled rejection error: invalid input syntax for integer: "new"
    at Connection.parseE (/home/nfroese/lighthouse/Projects/other-test-projects/CRUD/server/node_modules/pg/lib/connection.
js:569:11)
    at Connection.parseMessage (/home/nfroese/lighthouse/Projects/other-test-projects/CRUD/server/node_modules/pg/lib/conne
ction.js:396:17)
    at Socket.<anonymous> (/home/nfroese/lighthouse/Projects/other-test-projects/CRUD/server/node_modules/pg/lib/connection
.js:132:22)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:191:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)
    at TCP.onread (net.js:563:20)



via user2745797

No comments:

Post a Comment