-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
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
After upgrade, strange error message shown #2275
Comments
Major versions in node are synonymous with breaking changes, have you read the changelogs of the modules you bumped? In this case it's related to hapi's validator feature. |
I have read the change log. Where is the change you mentioned, because I can't find it, nor the related documentation! 17.0.2 |
Like I said, in hapi's. You should always read the major release notes when you bump. Likewise for joi's. |
Then I was looking at the wrong place... in joi... |
Support plan
Context
How can we help?
After upgrading to the latest hapi environment (all components) I receive the following error message, when I try to start the hapi server:
Error: Cannot set uncompiled validation rules without configuring a validator
The validation is very simple in this application
I simple not understand what kind of validation or "compiling" required? What is the meaning of the message? What am I missing here? I looked at the documentation, but I could not find, what I am doing suddenly wrong. This solution worked perfectly under 15.1.1 and Hapi 18.4.0
The text was updated successfully, but these errors were encountered: