You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build a restaurant menu theme, I kept getting this error:
Error: custom keyword definition is invalid: data.errors should be boolean
I went into node_modules/ajv/lib/keyword.js (where the error pointed me to) and manually did this:
if (definition) {
definition.errors = false
...
The original value was a string when it was expecting a boolean. The theme seems to work just fine now. I just wanted to bring this to someone's attention.
Steps to reproduce
Pretty sure if you just clone my repo and try running:
Description
Trying to build a restaurant menu theme, I kept getting this error:
Error: custom keyword definition is invalid: data.errors should be boolean
I went into
node_modules/ajv/lib/keyword.js
(where the error pointed me to) and manually did this:The original value was a string when it was expecting a boolean. The theme seems to work just fine now. I just wanted to bring this to someone's attention.
Steps to reproduce
Pretty sure if you just clone my repo and try running:
yarn workspace site develop
You'll see the error
https://github.com/ndejesus1227/gatsby-theme-restaurant-website
Expected result
I should just be able to see the server start and the initial page which would say "Waddup, yo"
Actual result
Get this error:
Error: custom keyword definition is invalid: data.errors should be boolean
For some reason data.errors has a string "full".
What happened.
Environment
Hopefully this is helpful.
The text was updated successfully, but these errors were encountered: