Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Deprecated Version Warning #23

@nickwild-999

Description

@nickwild-999

When I install this I get a warning and the example code does not run. I have tried changing to @tspacticles/engine but it still is not working. This is the error from the demo code.

Looking into the repo it again I think it seems to be using a deprecated version of ts-particles with a different syntax

[{
	"resource": ".../test.astro",
	"owner": "_generated_diagnostic_collection_name_#1",
	"code": "2307",
	"severity": 8,
	"message": "Cannot find module 'tsparticles-engine' or its corresponding type declarations.",
	"source": "ts",
	"startLineNumber": 24,
	"startColumn": 60,
	"endLineNumber": 24,
	"endColumn": 80
},{
	"resource": ".../test.astro",
	"owner": "_generated_diagnostic_collection_name_#1",
	"code": "2307",
	"severity": 8,
	"message": "Cannot find module 'tsparticles' or its corresponding type declarations.",
	"source": "ts",
	"startLineNumber": 25,
	"startColumn": 28,
	"endLineNumber": 25,
	"endColumn": 41
},{
	"resource": "...test.astro",
	"owner": "_generated_diagnostic_collection_name_#1",
	"code": "2339",
	"severity": 8,
	"message": "Property 'particlesInit' does not exist on type 'Window & typeof globalThis'.",
	"source": "ts",
	"startLineNumber": 30,
	"startColumn": 10,
	"endLineNumber": 30,
	"endColumn": 23
},{
	"resource": "...test.astro",
	"owner": "_generated_diagnostic_collection_name_#1",
	"code": "2339",
	"severity": 8,
	"message": "Property 'particlesLoaded' does not exist on type 'Window & typeof globalThis'.",
	"source": "ts",
	"startLineNumber": 37,
	"startColumn": 10,
	"endLineNumber": 37,
	"endColumn": 25
}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions