07-21-2023, 03:07 PM
The previous answers will work installing a new version of Node.js (probably the best option), but if you have a dependency on a specific Node.js version then the following will work: "npm install npm -g". Verify by running npm -v before and after the command.
[![Enter image description here][1]][1]
[1]:
[![Enter image description here][1]][1]
[1]: