Skip to content

Uncaught ReferenceError: require is not defined #204

@DerYumin

Description

@DerYumin

Hello chatengine.io Team,

I have an issue with the production of my build. When I run locally with "npm run dev", there is no problem with my client and Chat. But when I deployed a production build on vercel, I got following Error:

Uncaught ReferenceError: require is not defined at index-46340fac.js:156:35877 with the following code there:

require("websocket").w3cwebsocket;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions