tsParticles - Easily create highly customizable JavaScript particles effects, confetti explosions and fireworks animations and use them as animated backgrounds for your website. Ready to use components available for React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Solid, Riot and Web Components.
I cant get tsParticles to work on any environment, I was building a project just using vite and typescript when I started getting this error "Class extends value undefined is not a constructor or null", after hours of debugging with the bundler I decided to switch to Astro for an easier implementation but I get the same output. Im not running any extra code, I create a new astro project and copy paste the example. It doesnt work with neither Bun or Node.
Contact Details
No response
What happened?
I cant get tsParticles to work on any environment, I was building a project just using vite and typescript when I started getting this error "Class extends value undefined is not a constructor or null", after hours of debugging with the bundler I decided to switch to Astro for an easier implementation but I get the same output. Im not running any extra code, I create a new astro project and copy paste the example. It doesnt work with neither Bun or Node.
tsParticles Version
3.2.1
tsParticles Configuration
What browsers are you seeing the problem on?
No response
Relevant log output
Code of Conduct