Error message on terminal when trying to create a React project

Im currently doing the Odin Project for web development (javascript path).
In the React Course, im learning to set up a project with React.
This is the page: https://www.theodinproject.com/lessons/node-path-react-new-setting-up-a-react-environment

The problem is that when i paste this command “npm create vite@latest my-first-react-app — –template react
” into the CLI, i get an error.

The error is this:
npm error Class extends value undefined is not a constructor or null
npm error A complete log of this run can be found in: C:UsersequipoAppDataLocalnpm-cache_logs2024-08-09T19_54_01_302Z-debug-0.log

Im using git Bash, and my pc cant run a virtual machine or WSL2.. so im stuck with this.

Anyone could help me? Thanks!!

PS: node and npm are up to date.

I really dont know what to do, i search on google and stack overflow posts but couldnt find the solution.. and in the Odin Porject they dont help windows users..