I am unable to use react particles in my project. Following the documentation, i installed react-particles, and when it did not work, i installed react-tsparticles but still it gives me same error: Module not found: Can't resolve 'tsparticles' Please Help me in this. Below is my dependency file.
{
"name": "portfolio-react",
"version": "0.1.0",
"private": true,
"dependencies": {
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.2.7",
"@testing-library/user-event": "^12.8.3",
"bootstrap": "^5.0.2",
"react": "^17.0.2",
"react-bootstrap": "^1.6.1",
"react-dom": "^17.0.2",
"react-particles-js": "^3.5.3",
"react-scripts": "4.0.3",
"react-tsparticles": "^1.30.4",
"react-typed": "^1.2.0",
"web-vitals": "^1.1.2"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"tslint": "^5.0.0"
}
}