Update devcontainer with chromium dependencies
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, node.js
- Ambito
- devops, testing-qa
Direzione di ricerca
Esamina la configurazione devcontainer del repository e riproduci il problema con npm install && npm run test in un Codespace nuovo. Usa ldd sul binario Chromium per verificare le librerie mancanti elencate nell'issue. Il lavoro è completato quando ChromeHeadless si avvia correttamente e il comando di test non segnala più librerie condivise mancanti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
When attempting to npm install && npm run test in a fresh codespace, we initially see an error related to a missing shared library:
26 04 2022 14:32:23.081:ERROR [launcher]: Cannot start ChromeHeadless
/workspaces/paste-markdown/node_modules/chromium/lib/chromium/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
Running
ldd /workspaces/paste-markdown/node_modules/chromium/lib/chromium/chrome-linux/chrome | grep not
shows a list of libraries similar to that in https://github.com/dtolstyi/node-chromium/issues/52#issuecomment-1028727251
libnss3.so => not found
libnssutil3.so => not found
libsmime3.so => not found
libnspr4.so => not found
libatk-1.0.so.0 => not found
libatk-bridge-2.0.so.0 => not found
libcups.so.2 => not found
libdrm.so.2 => not found
libxkbcommon.so.0 => not found
libXcomposite.so.1 => not found
libXdamage.so.1 => not found
libXfixes.so.3 => not found
libXrandr.so.2 => not found
libgbm.so.1 => not found
libpango-1.0.so.0 => not found
libcairo.so.2 => not found
libasound.so.2 => not found
libatspi.so.0 => not found
^^ This correlates pretty well to https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#chrome-headless-doesnt-launch-on-unix
- Lingua principale
- JavaScript
- Stelle
- 234
- Fork
- 47
- Merge medio
- 1g 12h
- PR unite (30g)
- 5
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/paste-markdown
-
Pasting a link whose text/html label is a shortened form of its URL plants a `[` inside the URL Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
github/paste-markdown#118 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
github/paste-markdown#107 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
github/paste-markdown#104 ·
-
Examples page is broken Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
github/paste-markdown#100 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
github/paste-markdown#96 · 1 commento ·
Tutte le issue di github/paste-markdown
Issue simili
-
ai-observability bug team/ai-observability
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
AllTheMods/ATM-10-L#19 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
SignalK/n2k-signalk#345 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
JuliaPluto/PlutoPlotly.jl#72 ·