Tests and automatic type generation #18
Annotations
8 errors and 1 warning
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ Cn.newClient dist/npm/index.mjs:1387:3
❯ Cn.connect dist/npm/index.mjs:1382:23
❯ tests/ws.test.ts:53:37
|
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ Cn.newClient dist/npm/index.mjs:1387:3
❯ Cn.connect dist/npm/index.mjs:1382:23
❯ Cn.query dist/npm/index.mjs:1411:63
❯ Cn.query dist/npm/index.mjs:1627:35
❯ tests/ws.test.ts:76:35
|
dist/npm/index.mjs#L1553
NeonDbError: Error connecting to database: TypeError: fetch failed
❯ execute dist/npm/index.mjs:1553:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { severity: undefined, code: undefined, detail: undefined, hint: undefined, position: undefined, internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: undefined, line: undefined, routine: undefined, sourceError: { stack: 'TypeError: fetch failed\n at node:internal/deps/undici/undici:13484:13\n at processTicksAndRejections (node:internal/process/task_queues:105:5)\n at execute (/home/runner/work/serverless/serverless/dist/npm/index.mjs:1552:15)', message: 'fetch failed', cause: { stack: 'AggregateError: \n at internalConnectMultiple (node:net:1128:18)\n at afterConnectMultiple (node:net:1693:7)', errors: [ { stack: 'Error: connect ECONNREFUSED ::1:443\n at createConnectionError (node:net:1656:14)\n at afterConnectMultiple (node:net:1686:16)', message: 'connect ECONNREFUSED ::1:443', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 443, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:443\n at createConnectionError (node:net:1656:14)\n at afterConnectMultiple (node:net:1686:16)', message: 'connect ECONNREFUSED 127.0.0.1:443', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 443, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED', constructor: 'Function<AggregateError>', name: 'AggregateError', message: '', toString: 'Function<toString>' }, constructor: 'Function<TypeError>', name: 'TypeError', toString: 'Function<toString>' } }
|
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ Cn.newClient dist/npm/index.mjs:1387:3
❯ Cn.connect dist/npm/index.mjs:1382:23
❯ Cn.query dist/npm/index.mjs:1411:63
❯ Cn.query dist/npm/index.mjs:1627:35
❯ tests/ws.test.ts:106:41
|
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ tests/ws.test.ts:118:18
|
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ tests/ws.test.ts:134:24
|
dist/npm/index.mjs#L1583
Error: No database host or connection string was set, and key parameters have default values (host: localhost, user: runner, db: runner, password: null). Is an environment variable missing? Alternatively, if you intended to connect with these parameters, please set the host to 'localhost' explicitly.
❯ An.connect dist/npm/index.mjs:1583:73
❯ tests/ws.test.ts:156:18
|
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
The logs for this run have expired and are no longer available.
Loading