Segment error occurred while debugging npm, installation on centos 7

[root@home /]-sharp npm install
segment error.] Extract: sill pacote data for sha1-4qdQQqlVGQiqi vSW4Uj1fl2nXkYE = not present. Using manifest.

version:
npm-5.6.0-1.8.9.4.2.el7.x86_64.rpm
nodejs-8.9.4-2.el7.x86_64.rpm

Npm
Mar.12,2021

< H2 > 1. Download the binary version of Nodejs < / H2 >

URL: https://nodejs.org/en/download/ Select the one in the red box below

clipboard.png

< H2 > 2. Then use rz-bye to upload to the server / usr/local/src, to extract < / H2 >
$xz -d ***.tar.xz
$tar -xvf  ***.tar
< H2 > 3. Go to the node file / bin directory and test < / H2 >
./node -v

if you have a version number, prove that the previous steps are all right

< H2 > 4. Node and npm, cannot be accessed globally yet. We need a soft connection < / H2 >.
ln -s /usr/local/src/node-v8.11.1-linux-x64/bin/node /usr/local/bin/node
ln -s /usr/local/src/node-v8.11.1-linux-x64/bin/npm /usr/local/bin/npm
< H2 > 5. Test node-v and npm-v < / H2 >

the appearance of the version number indicates that the installation was successful

Menu