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

This error occurred in the <Graphics> component on run dev #5

Open
Zaniyar opened this issue Jun 21, 2023 · 1 comment
Open

This error occurred in the <Graphics> component on run dev #5

Zaniyar opened this issue Jun 21, 2023 · 1 comment

Comments

@Zaniyar
Copy link

Zaniyar commented Jun 21, 2023

$npm i
$npm run dev

after selecting player:


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.


@Zaniyar
Copy link
Author

Zaniyar commented Jun 23, 2023

OK, change target to ES6 in tsconfig.json
and npm i @pixi/graphics @pixi/react -f to get the newst version.

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

1 participant