在CentOS-7-x86_64-GenericCloud.qcow2映像上安装Thread、npm和Node.js导致问题
我必须在CentOS-7-x86_64-GenericCloud.qcow2映像上构建Node.js代码。我正在尝试在该映像上安装node12,yarn1.22,但没有获得任何成功。节点10和yarn1.22工作正常。但我们需要节点12,因为在开发过程中使用节点12。节点12和纱线1.22的以下误差。 任何帮助都将不胜感激。提前谢谢在CentOS-7-x86_64-GenericCloud.qcow2映像上安装Thread、npm和Node.js导致问题,node.js,npm,centos7,yarnpkg,Node.js,Npm,Centos7,Yarnpkg,我必须在CentOS-7-x86_64-GenericCloud.qcow2映像上构建Node.js代码。我正在尝试在该映像上安装node12,yarn1.22,但没有获得任何成功。节点10和yarn1.22工作正常。但我们需要节点12,因为在开发过程中使用节点12。节点12和纱线1.22的以下误差。 任何帮助都将不胜感激。提前谢谢 buffer.js:607 slice: (buf, start, end) => buf.utf8Slice(start, end),
buffer.js:607
slice: (buf, start, end) => buf.utf8Slice(start, end),
^
RangeError: Index out of range
at Object.slice (buffer.js:607:37)
at Buffer.toString (buffer.js:804:14)
at Object.readFileSync (fs.js:408:41)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1219:22)
at Module.load (internal/modules/cjs/loader.js:1049:32)
at Function.Module._load (internal/modules/cjs/loader.js:937:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
code: 'ERR_OUT_OF_RANGE'