安装 node.js v6.11.2 不会在 windows 上安装正确的 npm 版本 7

Installing node.js v6.11.2 does not install proper npm version on windows 7

我发现当我尝试在我的 Windows 7 机器上安装 node.js v6.11.2 时,它安装了错误版本的 npm。我直接从 node.js' 网站下载了安装程序,其中指出 6.11.2 包含 npm 3.10.10。但是,当我使用

检查我的 npm 版本时
npm -v

它说我有 2.12.0 版并向我抛出以下内容:

(node:4916) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.

因此,在从我的计算机中完全删除 node.js 并重新安装 node.js 之后,我现在拥有了正确的 npm 预期版本。我遵循了关于如何将其从我的计算机中完全删除的答案 here。我不得不去手动删除 user/appdata/roaming 中的文件夹。我猜它们没有包含在卸载过程中。