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
Error when starting rest-hapi plugin: Cannot set property 'Promise' of undefined #108
Comments
Hi @klishevich, the |
@JKHeadley sorry my bad, copy pasted wrong file. I updated |
@klishevich thanks for the link. So the issue here is that you are trying to use hapi v17, which is currently incompatible with rest-hapi. I'm in the process of updating to v17, but in the meantime if you would like to use rest-hapi you will need to work with hapi v16. You can find the v16 docs here. Hope this helps! |
@klishevich rest-hapi v1.0.0 is now available with Hapi 17 support. |
@JKHeadley thanks! |
I tried for two hours to start rest-hapi demo project, but failed. Maybe I missed something. Would appreciate help.
When
node api.js
get error:My
package.json
My
api.js
P.S. Also tried with canonical example from docs it does not work as well.
The text was updated successfully, but these errors were encountered: