About the SendbirdChat.connect() function

When I’m trying to use the SendbirdChat.connect() for setting up my user, the API is giving an error.
“TypeError: Cannot read properties of undefined (reading ‘fetch’)”