Just uninstall node js then reinstall it using nvm. Your problem will be solved. I am a debian 10 user.
mahedi@debain:~$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
after executing the command. close your terminal and reopen then run this command to install node js latest version.
mahedi@debain:~$ nvm install v14.15.5
now check by typing node -v