Loading failed for the module with source “http://127.0.0.1:5176/node_modules/.vite/deps/svelte-particles.js?v=c827fe42”. [127.0.0.1:5176:13:11](http://127.0.0.1:5176/)
Uncaught (in promise) TypeError: error loading dynamically imported module [+page.svelte:135:2](http://127.0.0.1:5176/src/routes/+page.svelte)
[vite] connecting... [client.ts:18:8](http://127.0.0.1:5176/@vite/client.ts)
[vite] connected. [client.ts:133:14](http://127.0.0.1:5176/@vite/client.ts)
Use of drawWindow method from CanvasRenderingContext2D is deprecated. Use tabs.captureTab extensions API instead https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/tabs/captureTab [pagedata-script.js:1:12439](moz-extension://45d46438-cc62-43a3-bb25-4787be3c8cb1/content/pagedata-script.js)
<Particles> was created with unknown prop 'class' [client.js:1987:15](http://127.0.0.1:5176/node_modules/@sveltejs/kit/src/runtime/client/client.js?v=8f04e0e5)
<Particles> was created with unknown prop 'style' [client.js:1987:15](http://127.0.0.1:5176/node_modules/@sveltejs/kit/src/runtime/client/client.js?v=8f04e0e5)
error adding particle: TypeError: value is undefined 100 [client.js:1987:15](http://127.0.0.1:5176/node_modules/@sveltejs/kit/src/runtime/client/client.js?v=8f04e0e5)
What happened?
I created a SvelteKit Skeleton Project
Added tsparticles 2.9.3
Copy pasted the example code for SSR sveltekit given at npmjs.com/package/svelte-particles
Page is entirely white, only shows "Hello" text, and this is the console output
Here is the full example Repo : MarArMar/SvelteKitParticles
Just run
tsParticles Version
2.9.3
tsParticles Configuration
What browsers are you seeing the problem on?
Firefox, Chrome
Relevant log output
From browser's console