#schema apply error

4 messages · Page 1 of 1 (latest)

reef fossilBOT
#

Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:

  • Adding an explanation of exactly what you're trying to achieve.
  • Adding any and all related code or previous attempts.
  • Describing the exact issue or error you are facing.
  • Posting any screenshots if applicable.
  • Reading through https://stackoverflow.com/help/how-to-ask.

When you're done with this thread, please close it. Thanks! ✨

(If you have a support agreement and need help, please contact the core team via email.)

crisp scaffold
#

gitpod /workspace/computravel_directus (master) $ npx directus schema apply ./schema.json
[16:56:55.784] INFO: Loaded extensions: consultantPortal, customer_upsert, recaptcha
[16:56:55.875] ERROR: Cannot read properties of undefined (reading 'filter')
err: {
"type": "TypeError",
"message": "Cannot read properties of undefined (reading 'filter')",
"stack":
TypeError: Cannot read properties of undefined (reading 'filter')
at getSnapshotDiff (file:///workspace/computravel_directus/node_modules/@directus/api/dist/utils/get-snapshot-diff.js:16:18)
at Command.apply (file:///workspace/computravel_directus/node_modules/@directus/api/dist/cli/commands/schema/apply.js:33:30)
at async Command.parseAsync (/workspace/computravel_directus/node_modules/commander/lib/command.js:935:5)
}

#

schema apply error

#

i have made sure the instances are the same directus versions . ANyone getting this 'filter' error?