default to get all #94
Annotations
2 errors
src/factory.spec.ts:
src/getConfig.ts#L15
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"url"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"databaseToken"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"outDir"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"config"
],
"message": "Required"
}
]
❯ Object.get error [as error] node_modules/zod/lib/index.mjs:538:31
❯ ZodObject.parse node_modules/zod/lib/index.mjs:638:22
❯ Module.getConfig src/getConfig.ts:15:17
❯ new Factory src/factory.ts:12:19
❯ src/factory.spec.ts:6:17
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'url' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'databaseToken' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'outDir' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'config' ], message: 'Required' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'url' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'databaseToken' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'outDir' ], message: 'Required' }, { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'config' ], message: 'Required' } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { url: [ 'Required' ], databaseToken: [ 'Required' ], outDir: [ 'Required' ], config: [ 'Required' ] } } }
|
test
Process completed with exit code 1.
|