Open anurupr opened 4 years ago
Apologies, I've been swamped and haven't been able to visit issues in a while. I believe this is due to an update in rest-hapi moving to hapi v18:
https://github.com/hapijs/hapi/issues/3871#issue-377743660
See the section Migration Checklist
-> server.inject() Authentication
The fix should be simple and I believe @anurupr mentioned it. I will try to push an update soon.
A quick update here. The issue seems to step from rest-hapi >1.8 updating to hapi 18 while appy is still using other hapi libraries that depend on hapi 17.
A quick fix for now is to set your rest-hapi version to be explicitly v1.7
bump!
I haven't tested it outside of docker to confirm if it is a universal issue with the code
I'm getting this error after setting up appy via docker and then running the seed script
This is the block of code where the issue is happening
Specifically failing at
server.inject
.If i replace the
auth
key withcredentials
and use the same value asrequest.credentials
. the script completes. If this is only an issue with hapijs . please go ahead and close this issue