I installed n
using npm install -g n -f
, and now when I run n 9
or n 8
or n 10
I always get the error:
$ n 9
installing : node-v9.11.2
Error: invalid version '9.11.2'
I don't understand why. These are valid versions.
When I run node -v
I get:
v12.7.0
Any ideas why I might be getting this issue? It's really frustrating.