stream-js icon indicating copy to clipboard operation
stream-js copied to clipboard

Remix.run integration

Open casoetan opened this issue 3 years ago • 2 comments

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.

casoetan avatar Feb 13 '22 13:02 casoetan

cc @arnautov-anton @MartinCupela

ferhatelmas avatar Feb 14 '22 12:02 ferhatelmas

Hey @casoetan,

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

Thank you

MartinCupela avatar Feb 23 '22 09:02 MartinCupela