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 1. Commonly used string functio...
OBS studio is cool, but JavaScript is cooler. Now...
Suggestion: Handwriting code as much as possible c...
Note 1: The entire background in the above pictur...
Resource merging and compression for two purposes...
Table of contents background Technical Solution S...
This article summarizes the knowledge points of M...
When using justify-content:space-between layout, ...
#1. Download # #2. Unzip to local and modify nece...
The table is as follows: Code when Unity reads an...
principle Set a shadow on the element when hoveri...
Introduction to temporary tables What is a tempor...
[Looking at all the migration files on the Intern...
Here is a text scrolling effect implemented with ...
1. Modify the firewall settings and open the corr...