Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

window is not defined error with pusher-js #14

Open
xpressivecode opened this issue Nov 11, 2022 · 0 comments
Open

window is not defined error with pusher-js #14

xpressivecode opened this issue Nov 11, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@xpressivecode
Copy link

Description

This appears to be a bug with the package, not necessarily with remix-vite.

pusher/pusher-js#624

Using the normal remix server/build process works fine because I can split between server and client with the file naming convention.

Using remix-vite bombs with the error 'window is not defined'.

Is there a way to get around that?

Library version

0.2.2

Node version

16.13.1

@xpressivecode xpressivecode added the bug Something isn't working label Nov 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant