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

Remix.run integration #499

Open
casoetan opened this issue Feb 13, 2022 · 2 comments
Open

Remix.run integration #499

casoetan opened this issue Feb 13, 2022 · 2 comments

Comments

@casoetan
Copy link

I can't get this library to integrate with the remix.run React framework.
The first error I got was

ReferenceError: Can't find variable: global  # from custom-event/index.js

I patched that with

if (global === undefined) {
  var global = globalThis // window;
}

But another error

Error: Dynamic require of "http" is not supported

Looks like all these have to do with faye.

@ferhatelmas
Copy link
Contributor

cc @arnautov-anton @MartinCupela

@MartinCupela
Copy link
Collaborator

Hey @casoetan,

thank you for bringing this up. Could you please share your remix example, in order we can replicate your setup?

Thank you

@idleberg idleberg mentioned this issue Mar 14, 2022
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

3 participants