I was trying to use edca-secp256k1-verification-2019 on Typescript and couldn't get it to work. Cloned the repository and debugged the code and found out the library base58-universal was causing the issue.
ReferenceError: Cannot access 'alphabet' before initialization
This was the Error to be exact. If possible replace the library with base-58 which I have tested with as well. I can do a PR for it if it helps.