Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory #12

Open
kamal2222ahmed opened this issue Apr 27, 2023 · 0 comments

Comments

@kamal2222ahmed
Copy link

kamal2222ahmed commented Apr 27, 2023

On Mac OS ( Macbook M1 )

% **docker run -e URL=https://jsonplaceholder.typicode.com -v $(pwd)/results:/usr/src/app/results check-accessibility:latest**
node:internal/process/promises:261
          triggerUncaughtException(err, true /* fromPromise */);
          ^

browserType.launch: Protocol error (Browser.getVersion): Browser closed.
==================== Browser output: ====================
<launching> /ms-playwright/chromium-857950/chrome-linux/chrome --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=TranslateUI,BlinkGenPropertyTrees,ImprovedCookieControls,SameSiteByDefaultCookies,LazyFrameLoading --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --user-data-dir=/tmp/playwright_chromiumdev_profile-gnq6ei --remote-debugging-pipe --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --no-startup-window
<launched> pid=25
[pid=25][err] qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
=========================== logs ===========================
<launching> /ms-playwright/chromium-857950/chrome-linux/chrome --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=TranslateUI,BlinkGenPropertyTrees,ImprovedCookieControls,SameSiteByDefaultCookies,LazyFrameLoading --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --user-data-dir=/tmp/playwright_chromiumdev_profile-gnq6ei --remote-debugging-pipe --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --no-startup-window
<launched> pid=25
[pid=25][err] qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
============================================================
Note: use DEBUG=pw:api environment variable to capture Playwright logs.
Error
    at Object.captureStackTrace (/usr/src/app/node_modules/playwright/lib/utils/stackTrace.js:48:19)
    at Connection.sendMessageToServer (/usr/src/app/node_modules/playwright/lib/client/connection.js:69:48)
    at Proxy.<anonymous> (/usr/src/app/node_modules/playwright/lib/client/channelOwner.js:64:61)
    at /usr/src/app/node_modules/playwright/lib/client/browserType.js:64:67
    at BrowserType._wrapApiCall (/usr/src/app/node_modules/playwright/lib/client/channelOwner.js:77:34)
    at BrowserType.launch (/usr/src/app/node_modules/playwright/lib/client/browserType.js:55:21)
    at /usr/src/app/test-a11y.js:47:64
    at step (/usr/src/app/test-a11y.js:33:23)
    at Object.next (/usr/src/app/test-a11y.js:14:53)
    at /usr/src/app/test-a11y.js:8:71

Node.js v18.16.0
SyntaxError: accessibility-results.json: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Object._readFile (/usr/src/app/node_modules/jsonfile/index.js:25:16)
    at async /usr/src/app/node_modules/@naturalcycles/json2html/dist/json2html.js:35:22
    at async /usr/src/app/node_modules/@naturalcycles/js-lib/dist/promise/pMap.js:80:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant