fix: pass schema
to drizzle
client for better type generation
#1312
Annotations
11 errors
_tests/drizzle/test.ts > queries database - 'mysql2' - 'kit-js':
packages/addons/_tests/_setup/suite.ts#L117
Error: Command failed: npm run build
"text" is imported from external module "drizzle-orm/mysql-core" but never used in "src/lib/server/db/schema.js".
node:internal/event_target:1062
process.nextTick(() => { throw err; });
^
Error [DrizzleError]: You need to specify "mode": "planetscale" or "default" when providing a schema. Read more: https://orm.drizzle.team/docs/rqb#modes
at construct (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:40:13)
at drizzle (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:82:10)
at file:///home/runner/work/cli/cli/.test-output/addons/drizzle/532097062_4/.svelte-kit/output/server/entries/pages/_page.server.js:15:12
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on Worker instance at:
at [kOnErrorMessage] (node:internal/worker:314:10)
at [kOnMessage] (node:internal/worker:325:37)
at MessagePort.<anonymous> (node:internal/worker:225:57)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20)
at exports.emitMessage (node:internal/per_context/messageport:23:28) {
cause: undefined
}
Node.js v18.20.7
❯ construct ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:40:13
❯ drizzle ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:82:10
❯ ../../.test-output/addons/drizzle/532097062_4/.svelte-kit/output/server/entries/pages/_page.server.js:15:12
❯ prepareServer _tests/_setup/suite.ts:117:20
❯ _tests/drizzle/test.ts:56:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [ 10, 62, 32, 107, 105, 116, 45, 106, 115, 64, 48, 46, 48, 46, 49, 32, 98, 117, 105, 108, 100, 10, 62, 32, 118, 105, 116, 101, 32, 98, 117, 105, 108, 100, 10, 10, 27, 91, 51, 54, 109, 118, 105, 116, 101, 32, 118, 54, 46, 50, 46, 48, 32, 27, 91, 51, 50, 109, 98, 117, 105, 108, 100, 105, 110, 103, 32, 83, 83, 82, 32, 98, 117, 110, 100, 108, 101, 32, 102, 111, 114, 32, 112, 114, 111, 100, 117, 99, 116, 105, 111, 110, 46, 46, 46, 27, 91, 51, 54, 109, 27, 91, 51, 57, 109, 10, 116, 114, 97, 110, 115, 102, 111, 114, 109, 105, 110, 103, 46, 46, 46, 10, 27, 91, 51, 50, 109, 226, 156, 147, 27, 91, 51, 57, 109, 32, 49, 55, 53, 32, 109, 111, 100, 117, 108, 101, 115, 32, 116, 114, 97, 110, 115, 102, 111, 114, 109, 101, 100, 46, 10, 114, 101, 110, 100, 101, 114, 105, 110, 103, 32, 99, 104, 117, 110, 107, 115, 46, 46, 46, 10 ] }, { type: 'Buffer', data: [ 27, 91, 51, 51, 109, 34, 116, 101, 120, 116, 34, 32, 105, 115, 32, 105, 109, 112, 111, 114, 116, 101, 100, 32, 102, 114, 111, 109, 32, 101, 120, 116, 101, 114, 110, 97, 108, 32, 109, 111, 100, 117, 108, 101, 32, 34, 100, 114, 105, 122, 122, 108, 101, 45, 111, 114, 109, 47, 109, 121, 115, 113, 108, 45, 99, 111, 114, 101, 34, 32, 98, 117, 116, 32, 110, 101, 118, 101, 114, 32, 117, 115, 101, 100, 32, 105, 110, 32, 34, 115, 114, 99, 47, 108, 105, 98, 47, 115, 101, 114, 118, 101, 114, 47, 100, 98, 47, 115, 99, 104, 101, 109, 97, 46, 106, 115, 34, 46, 27, 91, 51, 57, 109, 10, 10, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 118, 101, 110, 116, 95, 116, 97, 114, 103, 101, 116, 58, 49, 48, 54, 50, 10, 32, 32, 112, 114, 111, 99, 101, 115, 115, 46, 110, 101, 120, 116, 84, 105, 99, 107, 40, 40, 41, 32, 61, 62, 32, 123, 32, 116, 104, 114, 111, 119, 32, 101, 114, 114, 59, 32, 125, 41, 59, 10,
|
_tests/drizzle/test.ts > queries database - 'mysql2' - 'kit-js':
packages/addons/_tests/_setup/suite.ts#L117
Error: Command failed: npm run build
"text" is imported from external module "drizzle-orm/mysql-core" but never used in "src/lib/server/db/schema.js".
node:internal/event_target:1062
process.nextTick(() => { throw err; });
^
Error [DrizzleError]: You need to specify "mode": "planetscale" or "default" when providing a schema. Read more: https://orm.drizzle.team/docs/rqb#modes
at construct (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:40:13)
at drizzle (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:82:10)
at file:///home/runner/work/cli/cli/.test-output/addons/drizzle/532097062_4/.svelte-kit/output/server/entries/pages/_page.server.js:15:12
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on Worker instance at:
at [kOnErrorMessage] (node:internal/worker:314:10)
at [kOnMessage] (node:internal/worker:325:37)
at MessagePort.<anonymous> (node:internal/worker:225:57)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20)
at exports.emitMessage (node:internal/per_context/messageport:23:28) {
cause: undefined
}
Node.js v18.20.7
❯ construct ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:40:13
❯ drizzle ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:82:10
❯ ../../.test-output/addons/drizzle/532097062_4/.svelte-kit/output/server/entries/pages/_page.server.js:15:12
❯ prepareServer _tests/_setup/suite.ts:117:20
❯ _tests/drizzle/test.ts:56:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [ 10, 62, 32, 107, 105, 116, 45, 106, 115, 64, 48, 46, 48, 46, 49, 32, 98, 117, 105, 108, 100, 10, 62, 32, 118, 105, 116, 101, 32, 98, 117, 105, 108, 100, 10, 10, 27, 91, 51, 54, 109, 118, 105, 116, 101, 32, 118, 54, 46, 50, 46, 48, 32, 27, 91, 51, 50, 109, 98, 117, 105, 108, 100, 105, 110, 103, 32, 83, 83, 82, 32, 98, 117, 110, 100, 108, 101, 32, 102, 111, 114, 32, 112, 114, 111, 100, 117, 99, 116, 105, 111, 110, 46, 46, 46, 27, 91, 51, 54, 109, 27, 91, 51, 57, 109, 10, 116, 114, 97, 110, 115, 102, 111, 114, 109, 105, 110, 103, 46, 46, 46, 10, 27, 91, 51, 50, 109, 226, 156, 147, 27, 91, 51, 57, 109, 32, 49, 55, 53, 32, 109, 111, 100, 117, 108, 101, 115, 32, 116, 114, 97, 110, 115, 102, 111, 114, 109, 101, 100, 46, 10, 114, 101, 110, 100, 101, 114, 105, 110, 103, 32, 99, 104, 117, 110, 107, 115, 46, 46, 46, 10 ] }, { type: 'Buffer', data: [ 27, 91, 51, 51, 109, 34, 116, 101, 120, 116, 34, 32, 105, 115, 32, 105, 109, 112, 111, 114, 116, 101, 100, 32, 102, 114, 111, 109, 32, 101, 120, 116, 101, 114, 110, 97, 108, 32, 109, 111, 100, 117, 108, 101, 32, 34, 100, 114, 105, 122, 122, 108, 101, 45, 111, 114, 109, 47, 109, 121, 115, 113, 108, 45, 99, 111, 114, 101, 34, 32, 98, 117, 116, 32, 110, 101, 118, 101, 114, 32, 117, 115, 101, 100, 32, 105, 110, 32, 34, 115, 114, 99, 47, 108, 105, 98, 47, 115, 101, 114, 118, 101, 114, 47, 100, 98, 47, 115, 99, 104, 101, 109, 97, 46, 106, 115, 34, 46, 27, 91, 51, 57, 109, 10, 10, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 118, 101, 110, 116, 95, 116, 97, 114, 103, 101, 116, 58, 49, 48, 54, 50, 10, 32, 32, 112, 114, 111, 99, 101, 115, 115, 46, 110, 101, 120, 116, 84, 105, 99, 107, 40, 40, 41, 32, 61, 62, 32, 123, 32, 116, 104, 114, 111, 119, 32, 101, 114, 114, 59, 32, 125, 41, 59, 10,
|
_tests/drizzle/test.ts > queries database - 'mysql2' - 'kit-js':
packages/addons/_tests/_setup/suite.ts#L117
Error: Command failed: npm run build
"text" is imported from external module "drizzle-orm/mysql-core" but never used in "src/lib/server/db/schema.js".
node:internal/event_target:1062
process.nextTick(() => { throw err; });
^
Error [DrizzleError]: You need to specify "mode": "planetscale" or "default" when providing a schema. Read more: https://orm.drizzle.team/docs/rqb#modes
at construct (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:40:13)
at drizzle (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:82:10)
at file:///home/runner/work/cli/cli/.test-output/addons/drizzle/532097062_4/.svelte-kit/output/server/entries/pages/_page.server.js:15:12
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on Worker instance at:
at [kOnErrorMessage] (node:internal/worker:314:10)
at [kOnMessage] (node:internal/worker:325:37)
at MessagePort.<anonymous> (node:internal/worker:225:57)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20)
at exports.emitMessage (node:internal/per_context/messageport:23:28) {
cause: undefined
}
Node.js v18.20.7
❯ construct ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:40:13
❯ drizzle ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:82:10
❯ ../../.test-output/addons/drizzle/532097062_4/.svelte-kit/output/server/entries/pages/_page.server.js:15:12
❯ prepareServer _tests/_setup/suite.ts:117:20
❯ _tests/drizzle/test.ts:56:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [ 10, 62, 32, 107, 105, 116, 45, 106, 115, 64, 48, 46, 48, 46, 49, 32, 98, 117, 105, 108, 100, 10, 62, 32, 118, 105, 116, 101, 32, 98, 117, 105, 108, 100, 10, 10, 27, 91, 51, 54, 109, 118, 105, 116, 101, 32, 118, 54, 46, 50, 46, 48, 32, 27, 91, 51, 50, 109, 98, 117, 105, 108, 100, 105, 110, 103, 32, 83, 83, 82, 32, 98, 117, 110, 100, 108, 101, 32, 102, 111, 114, 32, 112, 114, 111, 100, 117, 99, 116, 105, 111, 110, 46, 46, 46, 27, 91, 51, 54, 109, 27, 91, 51, 57, 109, 10, 116, 114, 97, 110, 115, 102, 111, 114, 109, 105, 110, 103, 46, 46, 46, 10, 27, 91, 51, 50, 109, 226, 156, 147, 27, 91, 51, 57, 109, 32, 49, 55, 53, 32, 109, 111, 100, 117, 108, 101, 115, 32, 116, 114, 97, 110, 115, 102, 111, 114, 109, 101, 100, 46, 10, 114, 101, 110, 100, 101, 114, 105, 110, 103, 32, 99, 104, 117, 110, 107, 115, 46, 46, 46, 10 ] }, { type: 'Buffer', data: [ 27, 91, 51, 51, 109, 34, 116, 101, 120, 116, 34, 32, 105, 115, 32, 105, 109, 112, 111, 114, 116, 101, 100, 32, 102, 114, 111, 109, 32, 101, 120, 116, 101, 114, 110, 97, 108, 32, 109, 111, 100, 117, 108, 101, 32, 34, 100, 114, 105, 122, 122, 108, 101, 45, 111, 114, 109, 47, 109, 121, 115, 113, 108, 45, 99, 111, 114, 101, 34, 32, 98, 117, 116, 32, 110, 101, 118, 101, 114, 32, 117, 115, 101, 100, 32, 105, 110, 32, 34, 115, 114, 99, 47, 108, 105, 98, 47, 115, 101, 114, 118, 101, 114, 47, 100, 98, 47, 115, 99, 104, 101, 109, 97, 46, 106, 115, 34, 46, 27, 91, 51, 57, 109, 10, 10, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 118, 101, 110, 116, 95, 116, 97, 114, 103, 101, 116, 58, 49, 48, 54, 50, 10, 32, 32, 112, 114, 111, 99, 101, 115, 115, 46, 110, 101, 120, 116, 84, 105, 99, 107, 40, 40, 41, 32, 61, 62, 32, 123, 32, 116, 104, 114, 111, 119, 32, 101, 114, 114, 59, 32, 125, 41, 59, 10,
|
_tests/drizzle/test.ts > queries database - 'mysql2' - 'kit-js':
packages/addons/_tests/_setup/suite.ts#L117
Error: Command failed: npm run build
"text" is imported from external module "drizzle-orm/mysql-core" but never used in "src/lib/server/db/schema.js".
node:internal/event_target:1062
process.nextTick(() => { throw err; });
^
Error [DrizzleError]: You need to specify "mode": "planetscale" or "default" when providing a schema. Read more: https://orm.drizzle.team/docs/rqb#modes
at construct (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:40:13)
at drizzle (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:82:10)
at file:///home/runner/work/cli/cli/.test-output/addons/drizzle/532097062_4/.svelte-kit/output/server/entries/pages/_page.server.js:15:12
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on Worker instance at:
at [kOnErrorMessage] (node:internal/worker:314:10)
at [kOnMessage] (node:internal/worker:325:37)
at MessagePort.<anonymous> (node:internal/worker:225:57)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20)
at exports.emitMessage (node:internal/per_context/messageport:23:28) {
cause: undefined
}
Node.js v18.20.7
❯ construct ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:40:13
❯ drizzle ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:82:10
❯ ../../.test-output/addons/drizzle/532097062_4/.svelte-kit/output/server/entries/pages/_page.server.js:15:12
❯ prepareServer _tests/_setup/suite.ts:117:20
❯ _tests/drizzle/test.ts:56:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [ 10, 62, 32, 107, 105, 116, 45, 106, 115, 64, 48, 46, 48, 46, 49, 32, 98, 117, 105, 108, 100, 10, 62, 32, 118, 105, 116, 101, 32, 98, 117, 105, 108, 100, 10, 10, 27, 91, 51, 54, 109, 118, 105, 116, 101, 32, 118, 54, 46, 50, 46, 48, 32, 27, 91, 51, 50, 109, 98, 117, 105, 108, 100, 105, 110, 103, 32, 83, 83, 82, 32, 98, 117, 110, 100, 108, 101, 32, 102, 111, 114, 32, 112, 114, 111, 100, 117, 99, 116, 105, 111, 110, 46, 46, 46, 27, 91, 51, 54, 109, 27, 91, 51, 57, 109, 10, 116, 114, 97, 110, 115, 102, 111, 114, 109, 105, 110, 103, 46, 46, 46, 10, 27, 91, 51, 50, 109, 226, 156, 147, 27, 91, 51, 57, 109, 32, 49, 55, 53, 32, 109, 111, 100, 117, 108, 101, 115, 32, 116, 114, 97, 110, 115, 102, 111, 114, 109, 101, 100, 46, 10, 114, 101, 110, 100, 101, 114, 105, 110, 103, 32, 99, 104, 117, 110, 107, 115, 46, 46, 46, 10 ] }, { type: 'Buffer', data: [ 27, 91, 51, 51, 109, 34, 116, 101, 120, 116, 34, 32, 105, 115, 32, 105, 109, 112, 111, 114, 116, 101, 100, 32, 102, 114, 111, 109, 32, 101, 120, 116, 101, 114, 110, 97, 108, 32, 109, 111, 100, 117, 108, 101, 32, 34, 100, 114, 105, 122, 122, 108, 101, 45, 111, 114, 109, 47, 109, 121, 115, 113, 108, 45, 99, 111, 114, 101, 34, 32, 98, 117, 116, 32, 110, 101, 118, 101, 114, 32, 117, 115, 101, 100, 32, 105, 110, 32, 34, 115, 114, 99, 47, 108, 105, 98, 47, 115, 101, 114, 118, 101, 114, 47, 100, 98, 47, 115, 99, 104, 101, 109, 97, 46, 106, 115, 34, 46, 27, 91, 51, 57, 109, 10, 10, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 118, 101, 110, 116, 95, 116, 97, 114, 103, 101, 116, 58, 49, 48, 54, 50, 10, 32, 32, 112, 114, 111, 99, 101, 115, 115, 46, 110, 101, 120, 116, 84, 105, 99, 107, 40, 40, 41, 32, 61, 62, 32, 123, 32, 116, 104, 114, 111, 119, 32, 101, 114, 114, 59, 32, 125, 41, 59, 10,
|
_tests/drizzle/test.ts > queries database - 'mysql2' - 'kit-ts':
packages/addons/_tests/_setup/suite.ts#L117
Error: Command failed: npm run build
"text" is imported from external module "drizzle-orm/mysql-core" but never used in "src/lib/server/db/schema.ts".
node:internal/event_target:1062
process.nextTick(() => { throw err; });
^
Error [DrizzleError]: You need to specify "mode": "planetscale" or "default" when providing a schema. Read more: https://orm.drizzle.team/docs/rqb#modes
at construct (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:40:13)
at drizzle (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:82:10)
at file:///home/runner/work/cli/cli/.test-output/addons/drizzle/532097062_5/.svelte-kit/output/server/entries/pages/_page.server.ts.js:15:12
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on Worker instance at:
at [kOnErrorMessage] (node:internal/worker:314:10)
at [kOnMessage] (node:internal/worker:325:37)
at MessagePort.<anonymous> (node:internal/worker:225:57)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20)
at exports.emitMessage (node:internal/per_context/messageport:23:28) {
cause: undefined
}
Node.js v18.20.7
❯ construct ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:40:13
❯ drizzle ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/drizzle-orm/mysql2/driver.js:82:10
❯ ../../.test-output/addons/drizzle/532097062_5/.svelte-kit/output/server/entries/pages/_page.server.ts.js:15:12
❯ prepareServer _tests/_setup/suite.ts:117:20
❯ _tests/drizzle/test.ts:56:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [ 10, 62, 32, 107, 105, 116, 45, 116, 115, 64, 48, 46, 48, 46, 49, 32, 98, 117, 105, 108, 100, 10, 62, 32, 118, 105, 116, 101, 32, 98, 117, 105, 108, 100, 10, 10, 27, 91, 51, 54, 109, 118, 105, 116, 101, 32, 118, 54, 46, 50, 46, 48, 32, 27, 91, 51, 50, 109, 98, 117, 105, 108, 100, 105, 110, 103, 32, 83, 83, 82, 32, 98, 117, 110, 100, 108, 101, 32, 102, 111, 114, 32, 112, 114, 111, 100, 117, 99, 116, 105, 111, 110, 46, 46, 46, 27, 91, 51, 54, 109, 27, 91, 51, 57, 109, 10, 116, 114, 97, 110, 115, 102, 111, 114, 109, 105, 110, 103, 46, 46, 46, 10, 27, 91, 51, 50, 109, 226, 156, 147, 27, 91, 51, 57, 109, 32, 49, 55, 53, 32, 109, 111, 100, 117, 108, 101, 115, 32, 116, 114, 97, 110, 115, 102, 111, 114, 109, 101, 100, 46, 10, 114, 101, 110, 100, 101, 114, 105, 110, 103, 32, 99, 104, 117, 110, 107, 115, 46, 46, 46, 10 ] }, { type: 'Buffer', data: [ 27, 91, 51, 51, 109, 34, 116, 101, 120, 116, 34, 32, 105, 115, 32, 105, 109, 112, 111, 114, 116, 101, 100, 32, 102, 114, 111, 109, 32, 101, 120, 116, 101, 114, 110, 97, 108, 32, 109, 111, 100, 117, 108, 101, 32, 34, 100, 114, 105, 122, 122, 108, 101, 45, 111, 114, 109, 47, 109, 121, 115, 113, 108, 45, 99, 111, 114, 101, 34, 32, 98, 117, 116, 32, 110, 101, 118, 101, 114, 32, 117, 115, 101, 100, 32, 105, 110, 32, 34, 115, 114, 99, 47, 108, 105, 98, 47, 115, 101, 114, 118, 101, 114, 47, 100, 98, 47, 115, 99, 104, 101, 109, 97, 46, 116, 115, 34, 46, 27, 91, 51, 57, 109, 10, 10, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 118, 101, 110, 116, 95, 116, 97, 114, 103, 101, 116, 58, 49, 48, 54, 50, 10, 32, 32, 112, 114, 111, 99, 101, 115, 115, 46, 110, 101, 120, 116, 84, 105, 99, 107, 40, 40, 41, 32, 61, 62, 32, 123, 32, 116, 104, 114, 111, 119, 32, 101, 114, 114, 59, 32, 125, 41, 5
|
_tests/drizzle/test.ts > queries database - 'mysql2' - 'kit-ts':
packages/addons/_tests/_setup/suite.ts#L117
Error: Command failed: npm run build
"text" is imported from external module "drizzle-orm/mysql-core" but never used in "src/lib/server/db/schema.ts".
node:internal/event_target:1062
process.nextTick(() => { throw err; });
^
Error [DrizzleError]: You need to specify "mode": "planetscale" or "default" when providing a schema. Read more: https://orm.drizzle.team/docs/rqb#modes
at construct (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_better-sqlite3@11_a0fef9519c1ff48b1a0d4db627247324/node_modules/drizzle-orm/mysql2/driver.js:40:13)
at drizzle (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_better-sqlite3@11_a0fef9519c1ff48b1a0d4db627247324/node_modules/drizzle-orm/mysql2/driver.js:82:10)
at file:///home/runner/work/cli/cli/.test-output/addons/drizzle/532097062_5/.svelte-kit/output/server/entries/pages/_page.server.ts.js:15:12
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on Worker instance at:
at [kOnErrorMessage] (node:internal/worker:314:10)
at [kOnMessage] (node:internal/worker:325:37)
at MessagePort.<anonymous> (node:internal/worker:225:57)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20)
at exports.emitMessage (node:internal/per_context/messageport:23:28) {
cause: undefined
}
Node.js v18.20.7
❯ construct ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_better-sqlite3@11_a0fef9519c1ff48b1a0d4db627247324/node_modules/drizzle-orm/mysql2/driver.js:40:13
❯ drizzle ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_better-sqlite3@11_a0fef9519c1ff48b1a0d4db627247324/node_modules/drizzle-orm/mysql2/driver.js:82:10
❯ ../../.test-output/addons/drizzle/532097062_5/.svelte-kit/output/server/entries/pages/_page.server.ts.js:15:12
❯ prepareServer _tests/_setup/suite.ts:117:20
❯ _tests/drizzle/test.ts:56:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [ 10, 62, 32, 107, 105, 116, 45, 116, 115, 64, 48, 46, 48, 46, 49, 32, 98, 117, 105, 108, 100, 10, 62, 32, 118, 105, 116, 101, 32, 98, 117, 105, 108, 100, 10, 10, 27, 91, 51, 54, 109, 118, 105, 116, 101, 32, 118, 54, 46, 50, 46, 48, 32, 27, 91, 51, 50, 109, 98, 117, 105, 108, 100, 105, 110, 103, 32, 83, 83, 82, 32, 98, 117, 110, 100, 108, 101, 32, 102, 111, 114, 32, 112, 114, 111, 100, 117, 99, 116, 105, 111, 110, 46, 46, 46, 27, 91, 51, 54, 109, 27, 91, 51, 57, 109, 10, 116, 114, 97, 110, 115, 102, 111, 114, 109, 105, 110, 103, 46, 46, 46, 10, 27, 91, 51, 50, 109, 226, 156, 147, 27, 91, 51, 57, 109, 32, 49, 55, 53, 32, 109, 111, 100, 117, 108, 101, 115, 32, 116, 114, 97, 110, 115, 102, 111, 114, 109, 101, 100, 46, 10, 114, 101, 110, 100, 101, 114, 105, 110, 103, 32, 99, 104, 117, 110, 107, 115, 46, 46, 46, 10 ] }, { type: 'Buffer', data: [ 27, 91, 51, 51, 109, 34, 116, 101, 120, 116, 34, 32, 105, 115, 32, 105, 109, 112, 111, 114, 116, 101, 100, 32, 102, 114, 111, 109, 32, 101, 120, 116, 101, 114, 110, 97, 108, 32, 109, 111, 100, 117, 108, 101, 32, 34, 100, 114, 105, 122, 122, 108, 101, 45, 111, 114, 109, 47, 109, 121, 115, 113, 108, 45, 99, 111, 114, 101, 34, 32, 98, 117, 116, 32, 110, 101, 118, 101, 114, 32, 117, 115, 101, 100, 32, 105, 110, 32, 34, 115, 114, 99, 47, 108, 105, 98, 47, 115, 101, 114, 118, 101, 114, 47, 100, 98, 47, 115, 99, 104, 101, 109, 97, 46, 116, 115, 34, 46, 27, 91, 51, 57, 109, 10, 10, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 118, 101, 110, 116, 95, 116, 97, 114, 103, 101, 116, 58, 49, 48, 54, 50, 10, 32, 32, 112, 114, 111, 99, 101, 115, 115, 46, 110, 101, 120, 116, 84, 105, 99, 107, 40, 40, 41, 32, 61, 62, 32, 123, 32, 116, 104, 114, 111, 119, 32, 101, 114, 114
|
_tests/drizzle/test.ts > queries database - 'mysql2' - 'kit-ts':
packages/addons/_tests/_setup/suite.ts#L117
Error: Command failed: npm run build
"text" is imported from external module "drizzle-orm/mysql-core" but never used in "src/lib/server/db/schema.ts".
node:internal/event_target:1062
process.nextTick(() => { throw err; });
^
Error [DrizzleError]: You need to specify "mode": "planetscale" or "default" when providing a schema. Read more: https://orm.drizzle.team/docs/rqb#modes
at construct (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_better-sqlite3@11_a0fef9519c1ff48b1a0d4db627247324/node_modules/drizzle-orm/mysql2/driver.js:40:13)
at drizzle (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_better-sqlite3@11_a0fef9519c1ff48b1a0d4db627247324/node_modules/drizzle-orm/mysql2/driver.js:82:10)
at file:///home/runner/work/cli/cli/.test-output/addons/drizzle/532097062_5/.svelte-kit/output/server/entries/pages/_page.server.ts.js:15:12
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on Worker instance at:
at [kOnErrorMessage] (node:internal/worker:314:10)
at [kOnMessage] (node:internal/worker:325:37)
at MessagePort.<anonymous> (node:internal/worker:225:57)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20)
at exports.emitMessage (node:internal/per_context/messageport:23:28) {
cause: undefined
}
Node.js v18.20.7
❯ construct ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_better-sqlite3@11_a0fef9519c1ff48b1a0d4db627247324/node_modules/drizzle-orm/mysql2/driver.js:40:13
❯ drizzle ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_better-sqlite3@11_a0fef9519c1ff48b1a0d4db627247324/node_modules/drizzle-orm/mysql2/driver.js:82:10
❯ ../../.test-output/addons/drizzle/532097062_5/.svelte-kit/output/server/entries/pages/_page.server.ts.js:15:12
❯ prepareServer _tests/_setup/suite.ts:117:20
❯ _tests/drizzle/test.ts:56:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [ 10, 62, 32, 107, 105, 116, 45, 116, 115, 64, 48, 46, 48, 46, 49, 32, 98, 117, 105, 108, 100, 10, 62, 32, 118, 105, 116, 101, 32, 98, 117, 105, 108, 100, 10, 10, 27, 91, 51, 54, 109, 118, 105, 116, 101, 32, 118, 54, 46, 50, 46, 48, 32, 27, 91, 51, 50, 109, 98, 117, 105, 108, 100, 105, 110, 103, 32, 83, 83, 82, 32, 98, 117, 110, 100, 108, 101, 32, 102, 111, 114, 32, 112, 114, 111, 100, 117, 99, 116, 105, 111, 110, 46, 46, 46, 27, 91, 51, 54, 109, 27, 91, 51, 57, 109, 10, 116, 114, 97, 110, 115, 102, 111, 114, 109, 105, 110, 103, 46, 46, 46, 10, 27, 91, 51, 50, 109, 226, 156, 147, 27, 91, 51, 57, 109, 32, 49, 55, 53, 32, 109, 111, 100, 117, 108, 101, 115, 32, 116, 114, 97, 110, 115, 102, 111, 114, 109, 101, 100, 46, 10, 114, 101, 110, 100, 101, 114, 105, 110, 103, 32, 99, 104, 117, 110, 107, 115, 46, 46, 46, 10 ] }, { type: 'Buffer', data: [ 27, 91, 51, 51, 109, 34, 116, 101, 120, 116, 34, 32, 105, 115, 32, 105, 109, 112, 111, 114, 116, 101, 100, 32, 102, 114, 111, 109, 32, 101, 120, 116, 101, 114, 110, 97, 108, 32, 109, 111, 100, 117, 108, 101, 32, 34, 100, 114, 105, 122, 122, 108, 101, 45, 111, 114, 109, 47, 109, 121, 115, 113, 108, 45, 99, 111, 114, 101, 34, 32, 98, 117, 116, 32, 110, 101, 118, 101, 114, 32, 117, 115, 101, 100, 32, 105, 110, 32, 34, 115, 114, 99, 47, 108, 105, 98, 47, 115, 101, 114, 118, 101, 114, 47, 100, 98, 47, 115, 99, 104, 101, 109, 97, 46, 116, 115, 34, 46, 27, 91, 51, 57, 109, 10, 10, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 118, 101, 110, 116, 95, 116, 97, 114, 103, 101, 116, 58, 49, 48, 54, 50, 10, 32, 32, 112, 114, 111, 99, 101, 115, 115, 46, 110, 101, 120, 116, 84, 105, 99, 107, 40, 40, 41, 32, 61, 62, 32, 123, 32, 116, 104, 114, 111, 119, 32, 101, 114, 114
|
_tests/drizzle/test.ts > queries database - 'mysql2' - 'kit-ts':
packages/addons/_tests/_setup/suite.ts#L117
Error: Command failed: npm run build
"text" is imported from external module "drizzle-orm/mysql-core" but never used in "src/lib/server/db/schema.ts".
node:internal/event_target:1062
process.nextTick(() => { throw err; });
^
Error [DrizzleError]: You need to specify "mode": "planetscale" or "default" when providing a schema. Read more: https://orm.drizzle.team/docs/rqb#modes
at construct (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_better-sqlite3@11_a0fef9519c1ff48b1a0d4db627247324/node_modules/drizzle-orm/mysql2/driver.js:40:13)
at drizzle (file:///home/runner/work/cli/cli/.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_better-sqlite3@11_a0fef9519c1ff48b1a0d4db627247324/node_modules/drizzle-orm/mysql2/driver.js:82:10)
at file:///home/runner/work/cli/cli/.test-output/addons/drizzle/532097062_5/.svelte-kit/output/server/entries/pages/_page.server.ts.js:15:12
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on Worker instance at:
at [kOnErrorMessage] (node:internal/worker:314:10)
at [kOnMessage] (node:internal/worker:325:37)
at MessagePort.<anonymous> (node:internal/worker:225:57)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20)
at exports.emitMessage (node:internal/per_context/messageport:23:28) {
cause: undefined
}
Node.js v18.20.7
❯ construct ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_better-sqlite3@11_a0fef9519c1ff48b1a0d4db627247324/node_modules/drizzle-orm/mysql2/driver.js:40:13
❯ drizzle ../../.test-output/addons/drizzle/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_better-sqlite3@11_a0fef9519c1ff48b1a0d4db627247324/node_modules/drizzle-orm/mysql2/driver.js:82:10
❯ ../../.test-output/addons/drizzle/532097062_5/.svelte-kit/output/server/entries/pages/_page.server.ts.js:15:12
❯ prepareServer _tests/_setup/suite.ts:117:20
❯ _tests/drizzle/test.ts:56:21
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, { type: 'Buffer', data: [ 10, 62, 32, 107, 105, 116, 45, 116, 115, 64, 48, 46, 48, 46, 49, 32, 98, 117, 105, 108, 100, 10, 62, 32, 118, 105, 116, 101, 32, 98, 117, 105, 108, 100, 10, 10, 27, 91, 51, 54, 109, 118, 105, 116, 101, 32, 118, 54, 46, 50, 46, 48, 32, 27, 91, 51, 50, 109, 98, 117, 105, 108, 100, 105, 110, 103, 32, 83, 83, 82, 32, 98, 117, 110, 100, 108, 101, 32, 102, 111, 114, 32, 112, 114, 111, 100, 117, 99, 116, 105, 111, 110, 46, 46, 46, 27, 91, 51, 54, 109, 27, 91, 51, 57, 109, 10, 116, 114, 97, 110, 115, 102, 111, 114, 109, 105, 110, 103, 46, 46, 46, 10, 27, 91, 51, 50, 109, 226, 156, 147, 27, 91, 51, 57, 109, 32, 49, 55, 53, 32, 109, 111, 100, 117, 108, 101, 115, 32, 116, 114, 97, 110, 115, 102, 111, 114, 109, 101, 100, 46, 10, 114, 101, 110, 100, 101, 114, 105, 110, 103, 32, 99, 104, 117, 110, 107, 115, 46, 46, 46, 10 ] }, { type: 'Buffer', data: [ 27, 91, 51, 51, 109, 34, 116, 101, 120, 116, 34, 32, 105, 115, 32, 105, 109, 112, 111, 114, 116, 101, 100, 32, 102, 114, 111, 109, 32, 101, 120, 116, 101, 114, 110, 97, 108, 32, 109, 111, 100, 117, 108, 101, 32, 34, 100, 114, 105, 122, 122, 108, 101, 45, 111, 114, 109, 47, 109, 121, 115, 113, 108, 45, 99, 111, 114, 101, 34, 32, 98, 117, 116, 32, 110, 101, 118, 101, 114, 32, 117, 115, 101, 100, 32, 105, 110, 32, 34, 115, 114, 99, 47, 108, 105, 98, 47, 115, 101, 114, 118, 101, 114, 47, 100, 98, 47, 115, 99, 104, 101, 109, 97, 46, 116, 115, 34, 46, 27, 91, 51, 57, 109, 10, 10, 110, 111, 100, 101, 58, 105, 110, 116, 101, 114, 110, 97, 108, 47, 101, 118, 101, 110, 116, 95, 116, 97, 114, 103, 101, 116, 58, 49, 48, 54, 50, 10, 32, 32, 112, 114, 111, 99, 101, 115, 115, 46, 110, 101, 120, 116, 84, 105, 99, 107, 40, 40, 41, 32, 61, 62, 32, 123, 32, 116, 104, 114, 111, 119, 32, 101, 114, 114
|
test (ubuntu-latest)
Process completed with exit code 1.
|
test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
|
test (windows-latest)
The operation was canceled.
|