Error: Store validation failed: address: Please add an address
at ValidationError.inspect (D:ActsStore_Locator_APInode_modulesmongooseliberrorvalidation.js:48:26)
at formatValue (node:internal/util/inspect:763:19)
at inspect (node:internal/util/inspect:340:10)
at formatWithOptionsInternal (node:internal/util/inspect:2006:40)
at formatWithOptions (node:internal/util/inspect:1888:10)
at console.value (node:internal/console/constructor:331:14)
at console.warn (node:internal/console/constructor:364:61)
at exports.addStore (D:ActsStore_Locator_APIcontrollersstores.js:33:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
errors: {
address: ValidatorError: Please add an address
at validate (D:ActsStore_Locator_APInode_modulesmongooselibschematype.js:1277:13)
at D:ActsStore_Locator_APInode_modulesmongooselibschematype.js:1260:7
at Array.forEach ()
at SchemaString.SchemaType.doValidate (D:ActsStore_Locator_APInode_modulesmongooselibschematype.js:1210:14)
at D:ActsStore_Locator_APInode_modulesmongooselibdocument.js:2723:18
at processTicksAndRejections (node:internal/process/task_queues:78:11) {
properties: [Object],
kind: ‘required’,
path: ‘address’,
value: undefined,
reason: undefined,
[Symbol(mongoose:validatorError)]: true
}
},
_message: ‘Store validation failed’
}