ERROR: npm is known not to run on Node.js v10.16.0

Posted xiejunna

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ERROR: npm is known not to run on Node.js v10.16.0相关的知识,希望对你有一定的参考价值。

  • vue项目在用npm安装依赖时,出现报错ERROR: npm is known not to run on Node.js v10.16.2

  • 解决版本,删除npm相关包,位置:C:\\Users\\xn66\\AppData\\Roaming

  • 重新安装所需要版本的npm,我这里安装的是7.24.2 ,命令: npm -g install npm@7.24.2

以上是关于ERROR: npm is known not to run on Node.js v10.16.0的主要内容,如果未能解决你的问题,请参考以下文章

ERROR: npm is known not to run on Node.js v10.16.0

`npm run dev` 导致 Windows 错误 `'cross-env' is not known as an internal or external command`

异常 Type interface xx is not known to the MapperRegistry

Lettuce: Connection to xxx not allowed. This partition is not known in the cluster view.

Lettuce: Connection to xxx not allowed. This partition is not known in the cluster view.

Lettuce: Connection to xxx not allowed. This partition is not known in the cluster view.