Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting server error #48

Open
PSMJonas opened this issue Nov 14, 2023 · 0 comments
Open

Getting server error #48

PSMJonas opened this issue Nov 14, 2023 · 0 comments

Comments

@PSMJonas
Copy link

Hey! I'm alsways getting the a server error:

TypeError: Cannot read properties of undefined (reading 'includes')

I have used the example implementation (Next.js):

screen

Apparently this line is to blame for the error:

static get platform() {
    const platform = typeof navigator !== "undefined" ? navigator.platform : "";
    return (0, _util.shadow)(this, "platform", {
      isWin: platform.includes("Win"),
      isMac: platform.includes("Mac")
    });
}
@PSMJonas PSMJonas reopened this Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant