Closed raunakkathuria closed 4 years ago
@raunakkathuria thanks for reporting this issue. 👍
Found out the reason. I had version 10 of node installed. I should have read the compatibility section first. Upgraded to node 12+ and it works fine.
Added one minor PR - https://github.com/dwyl/hapi-auth-jwt2/pull/349
Followed the steps listed on https://github.com/dwyl/hapi-auth-jwt2#quick-demo and get the following error
And also, as per the
hapi
documentation the server is created withconst server = new Hapi.server({ port: 8000 });
- lowercases
in server - but in your README it's stated asconst server = new Hapi.Server({ port: 8000 });
- capitals
Can we specifically highlight this difference? And, is this expected?
Also, ran
npm run quick
and this is the debug log file content