This message was deleted.
# helpdesk
s
This message was deleted.
m
@great-pencil-7631 the latter, it’s all done over WebRTC using LiveKit
g
what a wonderful technology and library livekit is
🙏 1
I will try hard to understand the code.. shouldn't be hard... I couldn't run the git repo there is an error
m
What’s the error? cc @millions-honey-92294
g
@magnificent-art-43333 the error... layer 8 error. I don't know yet what to ask - but thank you that there is a channel here, to ask as soon as I have formulated a question.
OK I have also this error: on npm run dev:
Copy code
hydration-error-info.js:24 The above error occurred in the <Graphics> component:

    at Graphics
    at Container
    at JukeBox (webpack-internal:///(app-client)/./src/components/JukeBox.tsx:19:11)
    at Container
    at Container
    at Camera (webpack-internal:///(app-client)/./src/components/Camera.tsx:11:11)
    at AnimationsProvider (webpack-internal:///(app-client)/./src/providers/animations.tsx:93:11)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit <https://reactjs.org/link/error-boundaries> to learn more about error boundaries.
on entering the room: http://localhost:3001/room/test Unhandled Runtime Error TypeError: Class constructor _Container cannot be invoked without 'new' Call Stack new Graphics node_modules/@pixi/graphics/dist/esm/graphics.mjs (2057:0) Graphics node_modules/@pixi/react/dist/index.es-dev.js (479:35) createElement node_modules/@pixi/react/dist/index.es-dev.js (779:0) completeWork node_modules/@pixi/react/dist/index.es-dev.js (15082:0) completeUnitOfWork node_modules/@pixi/react/dist/index.es-dev.js (20208:0) performUnitOfWork node_modules/@pixi/react/dist/index.es-dev.js (20180:0) workLoopSync node_modules/@pixi/react/dist/index.es-dev.js (20078:0) renderRootSync node_modules/@pixi/react/dist/index.es-dev.js (20046:0) recoverFromConcurrentError node_modules/@pixi/react/dist/index.es-dev.js (19428:0) performSyncWorkOnRoot node_modules/@pixi/react/dist/index.es-dev.js (19674:0) flushSyncCallbacks node_modules/@pixi/react/dist/index.es-dev.js (4419:0) eval node_modules/@pixi/react/dist/index.es-dev.js (19226:0)
error 2: Unhandled Runtime Error TypeError: Cannot read properties of undefined (reading 'texture') Call Stack new AnimatedSprite node_modules/@pixi/sprite-animated/lib/AnimatedSprite.mjs (6:40) AnimatedSprite node_modules/@pixi/react/dist/index.es-dev.js (589:59) createElement node_modules/@pixi/react/dist/index.es-dev.js (779:0) completeWork node_modules/@pixi/react/dist/index.es-dev.js (15082:0) completeUnitOfWork node_modules/@pixi/react/dist/index.es-dev.js (20208:0) performUnitOfWork node_modules/@pixi/react/dist/index.es-dev.js (20180:0) workLoopSync node_modules/@pixi/react/dist/index.es-dev.js (20078:0) renderRootSync node_modules/@pixi/react/dist/index.es-dev.js (20046:0) recoverFromConcurrentError node_modules/@pixi/react/dist/index.es-dev.js (19428:0) performSyncWorkOnRoot node_modules/@pixi/react/dist/index.es-dev.js (19674:0) flushSyncCallbacks node_modules/@pixi/react/dist/index.es-dev.js (4419:0) eval node_modules/@pixi/react/dist/index.es-dev.js (19226:0)
m
Any idea what’s happening here @millions-honey-92294 ?
🙌 1
g
@magnificent-art-43333 I saw someone made an issue on the repo - it is solved. The project is using es5; but the pixi library uses es6 or so.. just need to change the tsconfig target to es6 and npm reinstall pixi with force. thx