You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
steps {
sh 'cp .env.test .env'
sh 'vendor/bin/sail up -d'
sh 'chmod +x wait-for-it.sh'
sh 'vendor/bin/sail exec laravel.test /var/www/html/wait-for-it.sh mysql:3306 -- echo "Services are up"'
sh 'vendor/bin/sail exec -it laravel.test apt update'
sh 'vendor/bin/sail exec -it laravel.test apt install -y nodejs gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgbm1 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 libgbm-dev libxshmfence-dev'
sh 'vendor/bin/sail exec -it laravel.test npm install --location=global --unsafe-perm puppeteer@^17'
sh 'vendor/bin/sail exec -it laravel.test chmod -R o+rx /usr/lib/node_modules/puppeteer/.local-chromium'
sh 'vendor/bin/sail artisan test --parallel --coverage-html tests/reports'
}
And it throws this error
Error: Could not find Chrome (ver. 125.0.6422.78). This can occur if either\n 1. you did not perform an installation before running the script (e.g. npx puppeteer browsers install chrome) or\n 2. your cache path is incorrectly configured (which is: /home/sail/.cache/puppeteer).\n For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides/configuration.
Running given command does not fix the issue either.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Here is my CI run
And it throws this error
Error: Could not find Chrome (ver. 125.0.6422.78). This can occur if either\n 1. you did not perform an installation before running the script (e.g.
npx puppeteer browsers install chrome) or\n 2. your cache path is incorrectly configured (which is: /home/sail/.cache/puppeteer).\n For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides/configuration.
Running given command does not fix the issue either.
Beta Was this translation helpful? Give feedback.
All reactions