We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn rw g scaffold post
causes
Cannot create property 'context' on string 'No schema definition found forPost'
Cannot create property 'context' on string 'No schema definition found for
'
unclear what a property context is on a string in this case. this happens if schema isn't set. just think the message could be more clear.
The text was updated successfully, but these errors were encountered:
🤔Good point... I have no idea what that means.
@cannikin Any suggestions here to improve error message?
Sorry, something went wrong.
@thedavidprice As per our conversation, here's me throwing the "No schema definition" error: https://github.com/redwoodjs/redwood/blob/master/packages/cli/src/lib/index.js#L43
My guess is you need to do something special for Listr besides just throwing an error.
Maybe we can just:
throw new Error(`No schema definition found for \`${name}\``)
this was closed in #401
thedavidprice
No branches or pull requests
yarn rw g scaffold post
causes
Cannot create property 'context' on string 'No schema definition found for
Post'
unclear what a property context is on a string in this case. this happens if schema isn't set. just think the message could be more clear.
The text was updated successfully, but these errors were encountered: