Skip to content

Uncaught ReferenceError: require is not defined #204

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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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