컴퓨터/리눅스 클라우드(AWS, GCP)
Nodejs 설치 (libv8.so.3 에러)
Tyson
2018. 2. 22. 20:07
$ node -v
-bash: node: command not found
라고 뜨면 설치가 안된거다.
CentOS에서는
$ yum insall nodejs
하면 된다.
근데, 이런 에러가 뜬다
> node -v
node: error while loading shared libraries: libv8.so.3: cannot open shared object file: No such file or directory
이게 먼가 했는데, 머가 설치가 안된거다.
그래서 npm을 설치 했더니 없어진다.
$ yum insall npm
하면, 100개정도 설치한다.