Web

[wsl, puppeteer] node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/chrome: error while loading shared libraries: libXcursor.so.1: cannot open shared object file: No such file or directory 에러 해결 방법

Bonita SY 2022. 4. 1. 23:54
728x90
반응형

에러메시지

node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/chrome: error while loading shared libraries: libXcursor.so.1: cannot open shared object file: No such file or directory

 

해결 방법

1.

su - root

 

2.

apt-get install -y wget unzip fontconfig locales gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget

 

출처

728x90
반응형

'Web' 카테고리의 다른 글

Virtual DOM  (0) 2023.10.31
봐야 하는  (0) 2023.02.28
MDN Web 이벤트 참조  (0) 2022.03.23
HTTP Header 구조 및 요청/응답 헤더의 주요 항목 정리  (0) 2021.10.16
[Web API] Selection, Range, Event, Element, Node, Window, Document  (0) 2021.06.22