feat: add deno-kv
driver
#1982
Annotations
10 errors and 1 warning
test/drivers/deno-kv.test.ts > drivers: deno-kv > init:
src/drivers/http.ts#L86
FetchError: [PUT] "http://localhost:36021/initial": 500 Internal Server Error
❯ Module.$fetch2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15
❯ setItem src/drivers/http.ts:86:7
❯ Object.setItem src/storage.ts:226:7
❯ Module.restoreSnapshot src/storage.ts:489:3
❯ test/drivers/utils.ts:37:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://localhost:36021/initial', options: { method: 'PUT', body: 'works', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { statusCode: 500, stack: [ 'Error: unable to open database file: ./tmp/deno-kv', 'at async Object.openKv (ext:deno_kv/01_db.ts:10:15)', 'at async setItem (file:///home/runner/work/unstorage/unstorage/src/drivers/deno-kv.ts:64:20)', 'at async Object.setItem (file:///home/runner/work/unstorage/unstorage/src/storage.ts:226:7)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/src/server.ts:123:11)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1978:19)', 'at async ServerImpl.toNodeHandle (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:2270:7)' ] }, constructor: 'Function<Response>', type: 'basic', url: 'http://localhost:36021/initial', redirected: false, status: 500, ok: false, statusText: 'Internal Server Error', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { statusCode: 500, stack: [ 'Error: unable to open database file: ./tmp/deno-kv', 'at async Object.openKv (ext:deno_kv/01_db.ts:10:15)', 'at async setItem (file:///home/runner/work/unstorage/unstorage/src/drivers/deno-kv.ts:64:20)', 'at async Object.setItem (file:///home/runner/work/unstorage/unstorage/src/storage.ts:226:7)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/src/server.ts:123:11)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1978:19)', 'at async ServerImpl.toNodeHandle (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:2270:7)' ] }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
test/drivers/deno-kv.test.ts > drivers: deno-kv > init:
src/drivers/http.ts#L86
FetchError: [PUT] "http://localhost:36021/initial": 500 Internal Server Error
❯ Module.$fetch2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15
❯ setItem src/drivers/http.ts:86:7
❯ Object.setItem src/storage.ts:226:7
❯ Module.restoreSnapshot src/storage.ts:489:3
❯ test/drivers/utils.ts:37:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://localhost:36021/initial', options: { method: 'PUT', body: 'works', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { statusCode: 500, stack: [ 'Error: unable to open database file: ./tmp/deno-kv', 'at async Object.openKv (ext:deno_kv/01_db.ts:10:15)', 'at async setItem (file:///home/runner/work/unstorage/unstorage/src/drivers/deno-kv.ts:64:20)', 'at async Object.setItem (file:///home/runner/work/unstorage/unstorage/src/storage.ts:226:7)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/src/server.ts:123:11)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1978:19)', 'at async ServerImpl.toNodeHandle (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:2270:7)' ] }, constructor: 'Function<Response>', type: 'basic', url: 'http://localhost:36021/initial', redirected: false, status: 500, ok: false, statusText: 'Internal Server Error', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { statusCode: 500, stack: [ 'Error: unable to open database file: ./tmp/deno-kv', 'at async Object.openKv (ext:deno_kv/01_db.ts:10:15)', 'at async setItem (file:///home/runner/work/unstorage/unstorage/src/drivers/deno-kv.ts:64:20)', 'at async Object.setItem (file:///home/runner/work/unstorage/unstorage/src/storage.ts:226:7)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/src/server.ts:123:11)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1978:19)', 'at async ServerImpl.toNodeHandle (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:2270:7)' ] }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
test/drivers/deno-kv.test.ts > drivers: deno-kv > init:
src/drivers/http.ts#L86
FetchError: [PUT] "http://localhost:36021/initial": 500 Internal Server Error
❯ Module.$fetch2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15
❯ setItem src/drivers/http.ts:86:7
❯ Object.setItem src/storage.ts:226:7
❯ Module.restoreSnapshot src/storage.ts:489:3
❯ test/drivers/utils.ts:37:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://localhost:36021/initial', options: { method: 'PUT', body: 'works', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { statusCode: 500, stack: [ 'Error: unable to open database file: ./tmp/deno-kv', 'at async Object.openKv (ext:deno_kv/01_db.ts:10:15)', 'at async setItem (file:///home/runner/work/unstorage/unstorage/src/drivers/deno-kv.ts:64:20)', 'at async Object.setItem (file:///home/runner/work/unstorage/unstorage/src/storage.ts:226:7)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/src/server.ts:123:11)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1978:19)', 'at async ServerImpl.toNodeHandle (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:2270:7)' ] }, constructor: 'Function<Response>', type: 'basic', url: 'http://localhost:36021/initial', redirected: false, status: 500, ok: false, statusText: 'Internal Server Error', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { statusCode: 500, stack: [ 'Error: unable to open database file: ./tmp/deno-kv', 'at async Object.openKv (ext:deno_kv/01_db.ts:10:15)', 'at async setItem (file:///home/runner/work/unstorage/unstorage/src/drivers/deno-kv.ts:64:20)', 'at async Object.setItem (file:///home/runner/work/unstorage/unstorage/src/storage.ts:226:7)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/src/server.ts:123:11)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1978:19)', 'at async ServerImpl.toNodeHandle (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:2270:7)' ] }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
test/drivers/deno-kv.test.ts > drivers: deno-kv > init:
src/drivers/http.ts#L86
FetchError: [PUT] "http://localhost:36021/initial": 500 Internal Server Error
❯ Module.$fetch2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15
❯ setItem src/drivers/http.ts:86:7
❯ Object.setItem src/storage.ts:226:7
❯ Module.restoreSnapshot src/storage.ts:489:3
❯ test/drivers/utils.ts:37:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://localhost:36021/initial', options: { method: 'PUT', body: 'works', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { statusCode: 500, stack: [ 'Error: unable to open database file: ./tmp/deno-kv', 'at async Object.openKv (ext:deno_kv/01_db.ts:10:15)', 'at async setItem (file:///home/runner/work/unstorage/unstorage/src/drivers/deno-kv.ts:64:20)', 'at async Object.setItem (file:///home/runner/work/unstorage/unstorage/src/storage.ts:226:7)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/src/server.ts:123:11)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1978:19)', 'at async ServerImpl.toNodeHandle (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:2270:7)' ] }, constructor: 'Function<Response>', type: 'basic', url: 'http://localhost:36021/initial', redirected: false, status: 500, ok: false, statusText: 'Internal Server Error', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { statusCode: 500, stack: [ 'Error: unable to open database file: ./tmp/deno-kv', 'at async Object.openKv (ext:deno_kv/01_db.ts:10:15)', 'at async setItem (file:///home/runner/work/unstorage/unstorage/src/drivers/deno-kv.ts:64:20)', 'at async Object.setItem (file:///home/runner/work/unstorage/unstorage/src/storage.ts:226:7)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/src/server.ts:123:11)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1978:19)', 'at async ServerImpl.toNodeHandle (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:2270:7)' ] }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
test/drivers/deno-kv.test.ts > drivers: deno-kv > initial state:
test/drivers/utils.ts#L43
FetchError: [HEAD] "http://localhost:36021/s1/a": 500 Internal Server Error
❯ $fetchRaw2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:311:14
❯ Module.$fetch2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15
❯ test/drivers/utils.ts:43:12
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://localhost:36021/s1/a', options: { method: 'HEAD', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, retry: +0 }, response: { constructor: 'Function<Response>', type: 'basic', url: 'http://localhost:36021/s1/a', redirected: false, status: 500, ok: false, statusText: 'Internal Server Error', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: null, bodyUsed: false, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: undefined, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
test/drivers/deno-kv.test.ts > drivers: deno-kv > initial state:
test/drivers/utils.ts#L43
FetchError: [HEAD] "http://localhost:36021/s1/a": 500 Internal Server Error
❯ $fetchRaw2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:311:14
❯ Module.$fetch2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15
❯ test/drivers/utils.ts:43:12
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://localhost:36021/s1/a', options: { method: 'HEAD', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, retry: +0 }, response: { constructor: 'Function<Response>', type: 'basic', url: 'http://localhost:36021/s1/a', redirected: false, status: 500, ok: false, statusText: 'Internal Server Error', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: null, bodyUsed: false, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: undefined, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
test/drivers/deno-kv.test.ts > drivers: deno-kv > initial state:
test/drivers/utils.ts#L43
FetchError: [HEAD] "http://localhost:36021/s1/a": 500 Internal Server Error
❯ $fetchRaw2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:311:14
❯ Module.$fetch2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15
❯ test/drivers/utils.ts:43:12
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://localhost:36021/s1/a', options: { method: 'HEAD', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, retry: +0 }, response: { constructor: 'Function<Response>', type: 'basic', url: 'http://localhost:36021/s1/a', redirected: false, status: 500, ok: false, statusText: 'Internal Server Error', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: null, bodyUsed: false, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: undefined, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
test/drivers/deno-kv.test.ts > drivers: deno-kv > initial state:
test/drivers/utils.ts#L43
FetchError: [HEAD] "http://localhost:36021/s1/a": 500 Internal Server Error
❯ $fetchRaw2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:311:14
❯ Module.$fetch2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15
❯ test/drivers/utils.ts:43:12
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://localhost:36021/s1/a', options: { method: 'HEAD', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, retry: +0 }, response: { constructor: 'Function<Response>', type: 'basic', url: 'http://localhost:36021/s1/a', redirected: false, status: 500, ok: false, statusText: 'Internal Server Error', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: null, bodyUsed: false, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: undefined, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
test/drivers/deno-kv.test.ts > drivers: deno-kv > setItem:
src/drivers/http.ts#L86
FetchError: [PUT] "http://localhost:36021/s1/a": 500 Internal Server Error
❯ Module.$fetch2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15
❯ setItem src/drivers/http.ts:86:7
❯ Object.setItem src/storage.ts:226:7
❯ test/drivers/utils.ts:49:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://localhost:36021/s1/a', options: { method: 'PUT', body: 'test_data', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { statusCode: 500, stack: [ 'Error: unable to open database file: ./tmp/deno-kv', 'at async Object.openKv (ext:deno_kv/01_db.ts:10:15)', 'at async setItem (file:///home/runner/work/unstorage/unstorage/src/drivers/deno-kv.ts:64:20)', 'at async Object.setItem (file:///home/runner/work/unstorage/unstorage/src/storage.ts:226:7)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/src/server.ts:123:11)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1978:19)', 'at async ServerImpl.toNodeHandle (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:2270:7)' ] }, constructor: 'Function<Response>', type: 'basic', url: 'http://localhost:36021/s1/a', redirected: false, status: 500, ok: false, statusText: 'Internal Server Error', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { statusCode: 500, stack: [ 'Error: unable to open database file: ./tmp/deno-kv', 'at async Object.openKv (ext:deno_kv/01_db.ts:10:15)', 'at async setItem (file:///home/runner/work/unstorage/unstorage/src/drivers/deno-kv.ts:64:20)', 'at async Object.setItem (file:///home/runner/work/unstorage/unstorage/src/storage.ts:226:7)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/src/server.ts:123:11)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1978:19)', 'at async ServerImpl.toNodeHandle (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:2270:7)' ] }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
test/drivers/deno-kv.test.ts > drivers: deno-kv > setItem:
src/drivers/http.ts#L86
FetchError: [PUT] "http://localhost:36021/s1/a": 500 Internal Server Error
❯ Module.$fetch2 node_modules/.pnpm/[email protected]/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15
❯ setItem src/drivers/http.ts:86:7
❯ Object.setItem src/storage.ts:226:7
❯ test/drivers/utils.ts:49:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { request: 'http://localhost:36021/s1/a', options: { method: 'PUT', body: 'test_data', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { statusCode: 500, stack: [ 'Error: unable to open database file: ./tmp/deno-kv', 'at async Object.openKv (ext:deno_kv/01_db.ts:10:15)', 'at async setItem (file:///home/runner/work/unstorage/unstorage/src/drivers/deno-kv.ts:64:20)', 'at async Object.setItem (file:///home/runner/work/unstorage/unstorage/src/storage.ts:226:7)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/src/server.ts:123:11)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1978:19)', 'at async ServerImpl.toNodeHandle (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:2270:7)' ] }, constructor: 'Function<Response>', type: 'basic', url: 'http://localhost:36021/s1/a', redirected: false, status: 500, ok: false, statusText: 'Internal Server Error', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { statusCode: 500, stack: [ 'Error: unable to open database file: ./tmp/deno-kv', 'at async Object.openKv (ext:deno_kv/01_db.ts:10:15)', 'at async setItem (file:///home/runner/work/unstorage/unstorage/src/drivers/deno-kv.ts:64:20)', 'at async Object.setItem (file:///home/runner/work/unstorage/unstorage/src/storage.ts:226:7)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/src/server.ts:123:11)', 'at async Object.handler (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:1978:19)', 'at async ServerImpl.toNodeHandle (file:///home/runner/work/unstorage/unstorage/node_modules/.pnpm/[email protected]/node_modules/h3/dist/index.mjs:2270:7)' ] }, status: 500, statusCode: 500, statusText: 'Internal Server Error', statusMessage: 'Internal Server Error' }
|
ci
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|