-
CentOS - puppeteer libX11.so 에러aws 2020. 8. 26. 11:59
로컬 (Mac 10.x) 에서 정상적인 동작을 하였지만 ..
chrome-linux/chrome: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directoryAWS EC2 에서 패키지 재설치(npm install)를 해도 위와 같은 오류가 발생한다.
구글링을 해본 결과 추가적으로 라이브러리를 설치해서 이슈를 해결하였다.
오류발생 AMI : CentOS Linux 7 x86_64 HVM... (ami-06e83aceba2cb0907)
해결 :
sudo yum install pango.x86_64 libXcomposite.x86_64 libXcursor.x86_64 libXdamage.x86_64 libXext.x86_64 libXi.x86_64 libXtst.x86_64 cups-libs.x86_64 libXScrnSaver.x86_64 libXrandr.x86_64 GConf2.x86_64 alsa-lib.x86_64 atk.x86_64 gtk3.x86_64 ipa-gothic-fonts xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-utils xorg-x11-fonts-cyrillic xorg-x11-fonts-Type1 xorg-x11-fonts-misc -y
참고
우분투(Ubuntu) puppeteer 실행시 에러날때 (libX11-xcb.so)
에러코드 error while loading shared libraries: libX11-xcb.so: cannot open shared object file: No such file or directory 원인 puppeteer 에서 사용하는 chrome 브라우저를 실행시킬 라이브러리가 우분투 OS..
skyksit.tistory.com
https://github.com/puppeteer/puppeteer/issues/391#issuecomment-325420271
can't run puppeteer in centos7 · Issue #391 · puppeteer/puppeteer
Server Info: CUP: Intel(R) Xeon(R) Platinum 8163 CPU @ 2.50GHz MemTotal: 1016396 kB OS:CentOS Linux release 7.3.1611 (Core) Node:v8.4.0 when I try to run my app in this server, there have an error ...
github.com
'aws' 카테고리의 다른 글
AWS API Gateway+Lambda 이미지(바이너리) 서비스 (1) 2020.08.23