我的Windows机器上的应用程序只能运行node版本v6.11.0和NPM版本3.11.11。
现在,我的node版本和NPM已经升级。我无法下载node版本和NPM版本。当前版本的node是v10.14.1,npm是5.5.1
当我尝试降级时,我遇到了以下错误。
npm install -g node@6.11.0
npm install -g npm@3.10.10
以下错误:
npm WARN npm npm does not support Node.js v10.14.1
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8.
npm WARN npm You can find the latest version at https://nodejs.org/
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[9256]: src\node_zlib.cc:441: Assertion `args.Length() == 7 && "init(windowBits, level, memLevel, strategy, writeResu
lt, writeCallback," " dictionary)"' failed.
1: 00007FF63013ECF5
2: 00007FF6301181A6
3: 00007FF630118271
4: 00007FF6300740B6
5: 00007FF630943BA2
6: 00007FF63094503D
7: 00007FF630944099
8: 00007FF630943F7B
9: 000002EA035DC5C1
有什么想法可以解决我遇到的错误吗?