I was getting the following error every time I tried to run the npm command.

Solution:

Where #.#.# is the version you downloaded.