This article is a mirror article of machine translation, please click here to jump to the original article.

View: 10519|Reply: 3

CentOS 7 Installation NodeJS Tutorial

[Copy link]
Posted on 11/30/2018 2:23:24 PM | | | |
First, the server is a CentOS 7 x64-bit system.
Install nodejs version: 10.14.1 (npm version: 6.4.1)




nodejs download address:https://nodejs.org/en/download/

1. Install gcc, make, openssl, wget



2. Download the source code package



3. Create soft links



4. Test version





(End)








Previous:MB method to be obtained
Next:The difference between /bin, /sbin, /usr/bin, /usr/sbin directory under Linux
 Landlord| Posted on 11/30/2018 3:12:11 PM |
gyp ERR! stack Error: EACCES: permission denied, mkdir '/root/konga/node_modules/dtrace-provider/.node-gyp'

Solution:

Use the npm command with sudo (sudo: apply for root permissions)

sudo npm i
Posted on 8/20/2022 10:11:28 PM |
Use the npm command with sudo (sudo: apply for root permissions)

sudo npm i
Posted on 5/12/2023 2:52:36 PM |
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com