first step
yum remove nodejs npm -y Manually delete the leftovers
Install the latest xz package from nodejs official website# Download wget https://nodejs.org/dist/v10.13.0/node-v10.13.0-linux-x64.tar.xz # Unzip xz -d node-v9.8.0-linux-x64.tar.xz tar -xvf node-v9.8.0-linux-x64.tar # Enter the directory cd node-v10.13.0-linux-x64/ # Create a soft link ln -s /opt/nodejs/node-v10.13.0-linux-x64/bin/node /usr/local/bin/node ln -s /opt/nodejs/node-v10.13.0-linux-x64/bin/npm /usr/local/bin/npm # Test node -v npm -v # Configure taobao image npm config set registry https://registry.npm.taobao.org The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Solution to MySQL connection exception and error 10061
>>: The way to represent colors in HTML is by using 6-digit hexadecimal codes, RGB or keywords.
Table of contents Migration Tools Application tra...
1. Problem description The storage installed in t...
1. Check the software installation path: There is...
1. Introduction A few days ago, a development col...
Table of contents Row-Column Conversion Analyze t...
Sometimes we need to remotely run programs on the...
In this system, the # sign represents the root us...
Multiple values combined display Now we have th...
Today, when I was practicing with the Baidu page,...
Preface During the development process, we someti...
I believe that many people who have used MySQL fo...
Authorization is to grant certain permissions to ...
Virtual machine software: vmware workstation Imag...
Table of contents View network configuration View...
Table of contents 1. Definition of stack 2. JS st...