电脑重装系统,node卒,从官网下载了node(v10.16.1)安装成功,通过npm下载模块时报错(没有截图)
WARNING: You are likely using a version of node-tar or npm that is incompatible with this version of Node.js.Please use either the version of npm that is bundled with Node.js, or a version of npm (> 5.5.1 or < 5.4.0) or node-tar (> 4.0.1) that is compatible with Node.js 9 and above.
内心很是煎熬,自行百度也没找到有价值的文章,又查找npm官网,按其推荐的地址下载node(v10.16.2),结果还是同样的错误(内心快碎了)。
官网自行版本搭配还要给我们找trouble,没有办法只能优雅降级了,果然还是老酒香。