Readme Sample Code Throws Error Runtime Error Uncaught In Promise

Readme Sample Code Throws Error Runtime Error Uncaught In Promise