panva/jose library does not work on node.js and it appears to be a repl.it specific issue.

https://repl.it/@QinGuan/JOSE

https://github.com/panva/jose/issues/84