Peter Filias
I went through the entire tutorial and fired it up with npm start. I got some warnings.
sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at Manual | Sequelize node_modules/sequelize/lib/sequelize.js:242:13
(node:7013) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
Executing (default): CREATE TABLE IF NOT EXISTS posts
(id
INTEGER PRIMARY KEY AUTOINCREMENT, title
VARCHAR(255), body
TEXT, authorId
VARCHAR(255), slug
VARCHAR(255), createdAt
DATETIME NOT NULL, updatedAt
DATETIME NOT NULL);
(node:7013) UnhandledPromiseRejectionWarning: RequestError: connect ECONNREFUSED 127.0.0.1:443
at ClientRequest.<anonymous> (/Users/pfilias/blog/node_modules/got/index.js:182:22)
at Object.onceWrapper (events.js:422:26)
at ClientRequest.emit (events.js:327:22)
at TLSSocket.socketErrorListener (_http_client.js:426:9)
at TLSSocket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
(node:7013) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see Command-line options | Node.js v17.0.1 Documentation). (rejection id: 1)
(node:7013) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Executing (default): PRAGMA INDEX_LIST(posts
)