I’m trying to validate a zap I’ve been converting from legacy.
```
~/git/zapier2$ zapier --version
* CLI version: 10.2.0
* Node.js version: v12.21.0
* OS info: linux-x64
* `zapier-platform-core` dependency: 11.0.1
```
When I run ‘zapier validate’ I get the following error:
```
zapier validate
Validating project locally
› Error: Cannot read property 'children' of undefined
› What happened:
› Executing undefined with bundle
› Cannot read property 'children' of undefined
›
› Console logs:
›
›
› re-run this command with `--debug` for more info
bsutton@slayer4:~/git/zapier2$ zapier validate --debug
zapier:validate argv is a '--debug' ] +0ms
zapier:validate args are {} +3ms
zapier:validate flags are { debug: true, format: 'table' } +0ms
zapier:validate ------------ +0ms
Validating project locally
zapier:validate TypeError: Cannot read property 'children' of undefined
zapier:validate at /home/bsutton/git/zapier2/node_modules/zapier-platform-schema/lib/functional-constraints/deepNestedFields.js:10:20
zapier:validate at arrayEach (/home/bsutton/git/zapier2/node_modules/lodash/lodash.js:530:11)
zapier:validate at Function.forEach (/home/bsutton/git/zapier2/node_modules/lodash/lodash.js:9410:14)
zapier:validate at collectErrors (/home/bsutton/git/zapier2/node_modules/zapier-platform-schema/lib/functional-constraints/deepNestedFields.js:9:5)
zapier:validate at /home/bsutton/git/zapier2/node_modules/zapier-platform-schema/lib/functional-constraints/deepNestedFields.js:55:13
zapier:validate at /home/bsutton/git/zapier2/node_modules/lodash/lodash.js:4967:15
zapier:validate at baseForOwn (/home/bsutton/git/zapier2/node_modules/lodash/lodash.js:3032:24)
zapier:validate at /home/bsutton/git/zapier2/node_modules/lodash/lodash.js:4936:18
zapier:validate at Function.forEach (/home/bsutton/git/zapier2/node_modules/lodash/lodash.js:9410:14)
zapier:validate at /home/bsutton/git/zapier2/node_modules/zapier-platform-schema/lib/functional-constraints/deepNestedFields.js:52:9
zapier:validate at arrayEach (/home/bsutton/git/zapier2/node_modules/lodash/lodash.js:530:11)
zapier:validate at Function.forEach (/home/bsutton/git/zapier2/node_modules/lodash/lodash.js:9410:14)
zapier:validate at validateFieldNesting (/home/bsutton/git/zapier2/node_modules/zapier-platform-schema/lib/functional-constraints/deepNestedFields.js:50:5)
zapier:validate at /home/bsutton/git/zapier2/node_modules/zapier-platform-schema/lib/functional-constraints/index.js:25:28
zapier:validate at Array.reduce (<anonymous>)
zapier:validate at Object.runFunctionalConstraints tas run] (/home/bsutton/git/zapier2/node_modules/zapier-platform-schema/lib/functional-constraints/index.js:24:17)
zapier:validate at Object.validate oas validateAppDefinition] (/home/bsutton/git/zapier2/node_modules/zapier-platform-schema/lib/utils/makeValidator.js:134:31)
zapier:validate at validateApp (/home/bsutton/git/zapier2/node_modules/zapier-platform-core/src/tools/schema.js:175:32)
zapier:validate at /home/bsutton/git/zapier2/node_modules/zapier-platform-core/src/create-command-handler.js:29:14
zapier:validate at Object.<anonymous> (/home/bsutton/git/zapier2/node_modules/zapier-platform-core/src/middleware.js:90:22)
zapier:validate at bound (domain.js:427:14)
zapier:validate at Object.runBound (domain.js:440:12) +220ms
› Error: Cannot read property 'children' of undefined
› What happened:
› Executing undefined with bundle
› Cannot read property 'children' of undefined
›
› Console logs:
›
zapier:analytics sending {
command: 'validate',
isValidCommand: true,
numArgs: 0,
flags: { debug: true, format: 'table' },
cliVersion: '10.2.0',
os: 'linux',
sendUserId: true
} +0ms
```