Install elasticsearch-head plugin npm cannot install error

1. Error

Deploy elk, node1, node2, and server npm install to perform error handling.
Insert picture description here

Two. Solve

Encountering such a problem, we can decompress, compile and install the node-v8.2.1.tar.gz compressed package before recompiling and installing it.

cd /opt
rz node-v8.2.1.tar.gz
tar xzvf node-v8.2.1.tar.gz
cd node-v8.2.1/
./configure 
make
make install

After reproducing the compilation and installation, it's ok
Insert picture description here

Guess you like

Origin blog.csdn.net/LI_MINGXUAN/article/details/114491515