bahmutov / objection-example Goto Github PK
View Code? Open in Web Editor NEWSimple Object.js ORM example copied from Vincit/objection.js
Simple Object.js ORM example copied from Vincit/objection.js
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
package.json
@bahmutov/all-logs 1.8.1
axios 0.19.2
body-parser 1.19.0
express 4.17.1
express-promise-router 3.0.3
knex 0.20.9
lodash 4.17.15
morgan 1.9.1
objection 1.6.11
sqlite3 4.1.1
@bahmutov/cy-api 1.4.1
babel-cli 6.26.0
babel-preset-env 1.7.0
babel-preset-stage-1 6.24.1
cypress 3.4.1
cypress-plugin-snapshots 1.2.9
start-server-and-test 1.10.8
node 8
Noticed a weird log messages when running in this project
npm ci
DEBUG=* npm run dev
Full section of the log output below:
cypress:server:openproject watch test files: **/*.* in /Users/gleb/git/objection-example/cypress/integration +1ms
cypress:server:specs looking for test specs in the folder: /Users/gleb/git/objection-example/cypress/integration +0ms
cypress:server:events sending ipc data { type: 'get:project:status', data: { id: 0.8367951655812789, data: { path: '/Users/gleb/git/objection-example', state: 'VALID' } } } +6ms
cypress:server:specs found spec file /Users/gleb/git/objection-example/cypress/integration/spec.js +5ms
cypress:server:specs found 1 spec files: [ { name: 'spec.js', relative: 'cypress/integration/spec.js', absolute: '/Users/gleb/git/objection-example/cypress/integration/spec.js' } ] +1ms
cypress:server:events sending ipc data { type: 'get:specs', data: { id: 0.1783318677579646, data: { integration: [Array] } } } +4ms
socket.io-client:manager attempting reconnect +2s
socket.io-client:manager readyState closed +0ms
socket.io-client:manager opening undefined//CHANGE_ME_HOST +1ms
engine.io-client:socket creating transport "websocket" +2s
engine.io-client:socket setting transport websocket +1ms
socket.io-client:manager connect attempt will timeout after 20000 +1ms
engine.io-client:socket socket error {"type":"TransportError","description":{"target":{"domain":null,"_events":{},"_eventsCount":4,"readyState":2,"protocol":"","_binaryType":"arraybuffer","_closeFrameReceived":false,"_closeFrameSent":false,"_closeMessage":"","_closeTimer":null,"_closeCode":1006,"_extensions":{},"_isServer":false,"_receiver":null,"_sender":null,"_socket":null,"url":"ws://undefinedCHANGE_ME_PATH/?EIO=3&transport=websocket","_req":null},"type":"error","message":"getaddrinfo ENOTFOUND undefinedCHANGE_ME_PATH undefinedCHANGE_ME_PATH:80","error":{"code":"ENOTFOUND","errno":"ENOTFOUND","syscall":"getaddrinfo","hostname":"undefinedCHANGE_ME_PATH","host":"undefinedCHANGE_ME_PATH","port":80}}} +1ms
socket.io-client:manager connect_error +2ms
socket.io-client:manager cleanup +0ms
socket.io-client:manager reconnect attempt error +0ms
socket.io-client:manager will wait 3175ms before reconnect attempt +0ms
engine.io-client:socket socket close with reason: "transport error" +1ms
socket.io-client:manager attempting reconnect +3s
socket.io-client:manager readyState closed +0ms
socket.io-client:manager opening undefined//CHANGE_ME_HOST +0ms
engine.io-client:socket creating transport "websocket" +3s
engine.io-client:socket setting transport websocket +1ms
socket.io-client:manager connect attempt will timeout after 20000 +1ms
engine.io-client:socket socket error {"type":"TransportError","description":{"target":{"domain":null,"_events":{},"_eventsCount":4,"readyState":2,"protocol":"","_binaryType":"arraybuffer","_closeFrameReceived":false,"_closeFrameSent":false,"_closeMessage":"","_closeTimer":null,"_closeCode":1006,"_extensions":{},"_isServer":false,"_receiver":null,"_sender":null,"_socket":null,"url":"ws://undefinedCHANGE_ME_PATH/?EIO=3&transport=websocket","_req":null},"type":"error","message":"getaddrinfo ENOTFOUND undefinedCHANGE_ME_PATH undefinedCHANGE_ME_PATH:80","error":{"code":"ENOTFOUND","errno":"ENOTFOUND","syscall":"getaddrinfo","hostname":"undefinedCHANGE_ME_PATH","host":"undefinedCHANGE_ME_PATH","port":80}}} +1ms
socket.io-client:manager connect_error +2ms
socket.io-client:manager cleanup +0ms
socket.io-client:manager reconnect attempt error +0ms
socket.io-client:manager will wait 5000ms before reconnect attempt +0ms
engine.io-client:socket socket close with reason: "transport error" +1ms
cypress:server:saved_state making saved state from /Users/gleb/Library/Caches/Cypress/3.4.0/Cypress.app/Contents/Resources/app/packages/server +6s
When running with DEBUG=*
in single cy.api
request, in the terminal I can see router logs
express:router dispatching POST /persons +21ms
express:router query : /persons +0ms
express:router expressInit : /persons +0ms
express:router jsonParser : /persons +0ms
body-parser:json content-type "application/json" +21ms
body-parser:json content-encoding "identity" +1ms
body-parser:json read body +0ms
body-parser:json parse body +6ms
body-parser:json parse json +0ms
express:router logger : /persons +7ms
express:router router : /persons +1ms
express:router dispatching POST /persons +0ms
knex:tx trx2: Starting top level transaction +0ms
knex:client acquired connection from pool: __knexUid1 +16s
knex:query BEGIN; trx2 +16s
knex:bindings undefined trx2 +16s
knex:query insert into `persons` (`age`, `firstName`, `lastName`) values (?, ?, ?) trx2 +50ms
knex:bindings [ 68, 'Sylvester', 'Stallone' ] trx2 +50ms
knex:query COMMIT; trx2 +3ms
knex:bindings undefined trx2 +3ms
knex:tx trx2: releasing connection +57ms
knex:client releasing connection to pool: __knexUid1 +57ms
morgan log request +85ms
POST /persons 200 58.377 ms - 82
But the intercepted debug logs only show knex
logs
right now the data keeps accumulating
Probably will be noisy
after #4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.