使用npm install -g n报错
如果出现npm ERR! notsup Unsupported platform for n@6.7.0: wanted {"os":"!win32","arch":"any"} (current: {"os":"win32","arch":"x64"})
在命令后面加上 --force 重新运行就行了