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.
In general applications, we use timestamp, dateti...
We are all familiar with the MySQL count() functi...
front end css3,filter can not only achieve the gr...
Problem Description The button style is icon + te...
I recently used the ssm framework when doing a pr...
Find the containerID of tomcat and enter the toma...
This article shares the specific code of making a...
FileReader is an important API for front-end file...
Container is another core concept of Docker. Simp...
Modify the group to which a user belongs in Linux...
1. Understanding of transition attributes 1. The ...
A CSS layout and style question: how to balance h...
Table of contents Install Dependencies Configurat...
【Historical Background】 I have been working as a ...
The first step is to unzip the compressed package...