Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ dapurmami-api git:(develop) yarn start
- yarn run v1.22.4
- $ ./node_modules/nodemon/bin/nodemon.js ./app.js
- [nodemon] 1.19.4
- [nodemon] to restart at any time, enter `rs`
- [nodemon] watching dir(s): *.*
- [nodemon] watching extensions: js,mjs,json
- [nodemon] starting `node ./app.js`
- {"level":30,"time":1586486528132,"pid":10460,"hostname":"guntoro","msg":"Server listening at http://0.0.0.0:3000","v":1}
- {"level":30,"time":1586486536727,"pid":10460,"hostname":"guntoro","reqId":"0623f058-63c4-4c49-828a-7f71b4c59dde","req":{"method":"GET","url":"/api/home/get-featured-donation","hostname":"localhost:3000","remoteAddress":"127.0.0.1","remotePort":60658},"msg":"incoming request","v":1}
- 6285713470777
- ====================================
- error: column a.is_draft does not exist
- at Connection.parseE (/home/guntoro/Projects/Dapurmami/dapurmami-api/node_modules/pg/lib/connection.js:614:13)
- at Connection.parseMessage (/home/guntoro/Projects/Dapurmami/dapurmami-api/node_modules/pg/lib/connection.js:413:19)
- at Socket.<anonymous> (/home/guntoro/Projects/Dapurmami/dapurmami-api/node_modules/pg/lib/connection.js:129:22)
- at Socket.emit (events.js:311:20)
- at addChunk (_stream_readable.js:294:12)
- at readableAddChunk (_stream_readable.js:275:11)
- at Socket.Readable.push (_stream_readable.js:209:10)
- at TCP.onStreamRead (internal/stream_base_commons.js:186:23) {
- name: 'error',
- length: 109,
- severity: 'ERROR',
- code: '42703',
- detail: undefined,
- hint: undefined,
- position: '511',
- internalPosition: undefined,
- internalQuery: undefined,
- where: undefined,
- schema: undefined,
- table: undefined,
- column: undefined,
- dataType: undefined,
- constraint: undefined,
- file: 'parse_relation.c',
- line: '3359',
- routine: 'errorMissingColumn'
- }
- ====================================
- /home/guntoro/Projects/Dapurmami/dapurmami-api/api/models/kitchenDonation.js:175
- resolve(results.rows);
- ^
- TypeError: Cannot read property 'rows' of undefined
- at Query.callback (/home/guntoro/Projects/Dapurmami/dapurmami-api/api/models/kitchenDonation.js:175:25)
- at Query.handleError (/home/guntoro/Projects/Dapurmami/dapurmami-api/node_modules/pg/lib/query.js:145:17)
- at Connection.connectedErrorMessageHandler (/home/guntoro/Projects/Dapurmami/dapurmami-api/node_modules/pg/lib/client.js:214:17)
- at Connection.emit (events.js:311:20)
- at Socket.<anonymous> (/home/guntoro/Projects/Dapurmami/dapurmami-api/node_modules/pg/lib/connection.js:134:12)
- at Socket.emit (events.js:311:20)
- at addChunk (_stream_readable.js:294:12)
- at readableAddChunk (_stream_readable.js:275:11)
- at Socket.Readable.push (_stream_readable.js:209:10)
- at TCP.onStreamRead (internal/stream_base_commons.js:186:23)
- [nodemon] app crashed - waiting for file changes before starting...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement