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

Error after Upgrade #24

Closed
danielhill1982 opened this issue May 17, 2024 · 6 comments
Closed

Error after Upgrade #24

danielhill1982 opened this issue May 17, 2024 · 6 comments

Comments

@danielhill1982
Copy link

danielhill1982 commented May 17, 2024

After upgrading all to newest version, in development mode, the particles destroy my site.

Can anyone help me with this issue?
I don't want to miss the very nice particle effect...

):

error example:

The tsparticles-engine module or its type declarations were not found.

npm WARN deprecated tsparticles-plugin-easing-quad@2.12.0: starting from tsparticles v3 the packages are now moved to @tsparticles/package-name instead of tsparticles-package-name

@danielhill1982
Copy link
Author

delting of background solved it!

background: { color: { value: '#0A0F0F' } },

@Joepocalyptic
Copy link
Owner

It looks like the error you were getting was related to importing packages from tsparticles v2; this module now uses tsparticles v3. I'd double check your deps/imports to ensure you're getting packages from under the @tsparticles scope.

@danielhill1982
Copy link
Author

Yes I see.

import type { Container } from '@tsparticles/engine';

@danielhill1982
Copy link
Author

Deleting of background: { color: { value: '#0A0F0F' } },is also required to ensure successful view on my website.

@Joepocalyptic
Copy link
Owner

What's happening when you set the color?

@danielhill1982
Copy link
Author

I had to figure it out to run it updated. What I now notice is that the animation is in the foreground of images, but it should actually be in the background like the rest of my website.

@danielhill1982 danielhill1982 closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2024
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

2 participants