-
Notifications
You must be signed in to change notification settings - Fork 49
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
Invalid "inert" server options issue after Hapi update to 20.2.2 : #165
Comments
That error there is because inert uses some JS syntax that requires node v14+. As of inert v7, only node v14+ is supported. Node v12 went EOL I believe in April, so it's a good time to upgrade services that are still on that version. Or if you like, you can use inert v6! |
Hey @devinivy thanks for reply The issue still persist after upgrading the node to v14+ |
Interesting— this optional chaining syntax is supported in node v14: https://node.green/#ES2020-features-optional-chaining-operator----- What is the specific version of nodejs you're using? And are you getting the exact same error, or a new one? |
HI @devinivy I am getting new error: [1] [ core ] [ server, start ] "Error is Error: Cannot set uncompiled validation rules without configuring a validator" |
This error is unrelated to inert: check-out the "joi Schema Compiler" section in the hapi v19 release notes for more information: hapijs/hapi#4017 |
Context
Node: 12.20.2
npm: 6.14.11
hapi: 20.2.2
inert: 7.0.0
What am I doing wrong?
The text was updated successfully, but these errors were encountered: