How can i solve this error on trying to run "npm run dev" command?

It appears, I am doing something wrong or npm is telling me something I can’t figure out.

When I run the npm run dev command using vite to create a React project, I am presented with the following error:

Error:

"UnhandledPromiseRejectionWarning: SyntaxError: 
Unexpected token '??=' at Loader.moduleStrategy (internal/modules/esm/translators. js:145:18) 
(Use node --trace-warnings ... to show where the warning was created) (node:15768) UnhandledPromiseRejectionWarning: 
Unhandled promise rejection. block, or by rejecting a promise which was not handled with .catch(). 
To terminate the node process on unhandled promise rejection, 
use the CLI flag --unhandled-
rejections=strict (see https://nodejs.org/api/ cli.html#cli_unhandled_rejections_mode (rejection id: 1) (node:15768) [DEP0018] 
DeprecationWarning: Unhandled promise rejections are deprecated. 
In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Does anyone have an idea what went wrong or has anyone come across this type of error?