21 │
 22 │   const { projectsData, activeProjectLabel, isLoading, dataType } = useSelector(
 22 │     (state: { projects: ProjectsState }) => state.projects
    ╰────


Caused by:
    Syntax Error
  Plugin: vite:react-swc
  File: C:/Users/Weenggs37/Downloads/Demo with img/Demo/src/components/projects.tsx

5:16:00 pm [vite] (client) hmr update /@fs/C:/Users/Weenggs37/Downloads/Demo with img/Demo/src/components/projects.tsx, /@fs/C:/Users/Weenggs37/Downloads/Demsrc/index.css

 *  History restored 
                                               cd demo
PS C:\Users\Weenggs37\Downloads\Demo with img\demo> npm run dev
>> \

> demo@0.0.0 dev
> vite


  VITE v6.3.5  ready in 2967 ms

  ➜  Local:   http://localhost:3000/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
10:12:29 am [vite] (client) hmr update /@fs/C:/Users/Weenggs37/Downloads/Demo with img/Demo/src/components/projects.tsx, /@fs/C:/Users/Weenggs37/Downloads/Demo with img/Demo/src/index.css
10:12:29 am [vite] (client) hmr update /@fs/C:/Users/Weenggs37/Downloads/Demo with img/Demo/src/components/projects.tsx, /@fs/C:/Users/Weenggs37/Downloads/Demo with img/Demo/src/index.css (x2)
Terminate batch job (Y/N)? 
^CThe system cannot open the device or file specified.
PS C:\Users\Weenggs37\Downloads\Demo with img\demo> ^C
PS C:\Users\Weenggs37\Downloads\Demo with img\demo> npm uninstall @reduxjs/toolkit @types/redux
>> 
>> npm install @reduxjs/toolkit
>> 
>> rm -rf node_modules package-lock.json
>> 
>> npm install

removed 6 packages, and audited 231 packages in 4s

59 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

added 6 packages, and audited 237 packages in 7s

60 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
Remove-Item : A parameter cannot be found that matches parameter name 'rf'.
At line:5 char:4
+ rm -rf node_modules package-lock.json
+    ~~~
    + CategoryInfo          : InvalidArgument: (:) [Remove-Item], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
 

up to date, audited 237 packages in 3s

60 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
PS C:\Users\Weenggs37\Downloads\Demo with img\demo> npm run dev
>> \

> demo@0.0.0 dev
> vite
   

  VITE v6.3.5  ready in 1250 ms

  ➜  Local:   http://localhost:3000/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help
10:41:17 am [vite] (client) page reload C:/Users/Weenggs37/Downloads/Demo with img/Demo/src/redux/store.ts
10:41:17 am [vite] (client) page reload C:/Users/Weenggs37/Downloads/Demo with img/Demo/src/redux/store.ts (x2)
10:41:20 am [vite] (client) ✨ new dependencies optimized: @reduxjs/toolkit
10:41:20 am [vite] (client) ✨ optimized dependencies changed. reloading
Terminate batch job (Y/N)? 
^C
PS C:\Users\Weenggs37\Downloads\Demo with img\demo> ^C
PS C:\Users\Weenggs37\Downloads\Demo with img\demo> npm uninstall react-saga
>> npm install @reduxjs/toolkit@1.9.7
>> npm install

removed 6 packages, and audited 231 packages in 2s

56 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @reduxjs/toolkit@1.9.7
npm error Found: react@19.1.0
npm error node_modules/react
npm error   peer react@"^19.1.0" from react-dom@19.1.0
npm error   node_modules/react-dom
npm error     peerOptional react-dom@">=18" from react-router@7.6.2
npm error     node_modules/react-router
npm error       react-router@"7.6.2" from react-router-dom@7.6.2
npm error       node_modules/react-router-dom
npm error         react-router-dom@"^7.6.0" from the root project
npm error     peer react-dom@">=18" from react-router-dom@7.6.2
npm error     node_modules/react-router-dom
npm error       react-router-dom@"^7.6.0" from the root project
npm error     1 more (the root project)
npm error   peer react@"^18.0 || ^19" from react-redux@9.2.0
npm error   node_modules/react-redux
npm error     react-redux@"^9.2.0" from the root project
npm error   4 more (react-router, react-router-dom, ...)
npm error
npm error Could not resolve dependency:
npm error peerOptional react@"^16.9.0 || ^17.0.0 || ^18" from @reduxjs/toolkit@1.9.7
npm error node_modules/@reduxjs/toolkit
npm error   @reduxjs/toolkit@"1.9.7" from the root project
npm error
npm error Conflicting peer dependency: react@18.3.1
npm error node_modules/react
npm error   peerOptional react@"^16.9.0 || ^17.0.0 || ^18" from @reduxjs/toolkit@1.9.7
npm error   node_modules/@reduxjs/toolkit
npm error     @reduxjs/toolkit@"1.9.7" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error C:\Users\Weenggs37\AppData\Local\npm-cache\_logs\2025-06-17T05_11_36_510Z-eresolve-report.txt
npm error A complete log of this run can be found in: C:\Users\Weenggs37\AppData\Local\npm-cache\_logs\2025-06-17T05_11_36_510Z-debug-0.log

up to date, audited 231 packages in 2s

56 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities