You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried upgrading from v 2.1.0 to 0.3.2 but I'm now getting Module "events" has been externalized for browser compatibility. Cannot access "events.EventEmitter"...
The problem seems to be that @epicgames-ps+lib-pixelstreamingcommon-ue5.5WebSocketTransport.js is getting included in the frontend code and it uses nodes EventEmitter, which is a node only library.
Steps to Reproduce:
create a new vite project
use v0.3.2
try building
If you try bumping to the latest (0.4.0) @epicgames-ps/lib-pixelstreamingfrontend-ue5.5 it should be fixed for you (I tested against your provided repo and it built).
UE Version:
E.g. UE 5.5.0
Frontend Version:
E.g. UE5.5-0.3.2
Problem component
E.g. Frontend
Description
I have a very simple vite project that is importing
I tried upgrading from v 2.1.0 to 0.3.2 but I'm now getting Module "events" has been externalized for browser compatibility. Cannot access "events.EventEmitter"...
The problem seems to be that
@epicgames-ps+lib-pixelstreamingcommon-ue5.5
WebSocketTransport.js
is getting included in the frontend code and it uses nodes EventEmitter, which is a node only library.Steps to Reproduce:
create a new vite project
use v0.3.2
try building
here is a repo that you can test out
https://github.com/leon/bug-pixelstreaming-eventemitter
Expected behavior
Should be able to build frontend using 5.5 v0.3.2
Screenshots
If applicable, add screenshots to help explain your problem.
Platform (please complete the following information):
MacOS Sequoia
The text was updated successfully, but these errors were encountered: