drivetest-ca-availabilities icon indicating copy to clipboard operation
drivetest-ca-availabilities copied to clipboard

Latest version errors out

Open findjigar opened this issue 3 years ago • 4 comments

Describe the bug Getting below error when trying to execute the latest binary

ERROR (4019 on MacBook): Error: Failed to launch the browser process!


TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

    at onClose (/snapshot/drivetest-ca-availabilities/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:193:20)
    at Interface.<anonymous> (/snapshot/drivetest-ca-availabilities/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:183:68)
    at Interface.emit (events.js:387:35)
    at Interface.close (readline.js:451:8)
    at Socket.onend (readline.js:224:10)
    at Socket.emit (events.js:387:35)
    at endReadableNT (internal/streams/readable.js:1317:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)

To Reproduce Steps to reproduce the behavior:

  1. Downloaded latest binary from release notes
  2. Did chmod a+x to make the binary executable
  3. Gave Apple security permission to run the binary anyway
  4. Then ran this command ./drivetest-availabilities-macos -r 60 -l “xx.xxxxxx, -xx.xxxxxx” --licenseType G --email [email protected] --licenseNumber Bxxxx-xxxxx-xxxxxx --licenseExpiry “xxxx/xx/xx”
  5. And getting above error

Expected behavior Get some kind of valid output

Desktop (please complete the following information):

  • macOS 11.3.1

findjigar avatar Oct 11 '21 05:10 findjigar

Are you using an M1 Macbook?

silverAndroid avatar Oct 11 '21 17:10 silverAndroid

@silverAndroid No. I'm not. Version 11.3.1 (20E241)

findjigar avatar Oct 18 '21 01:10 findjigar

@findjigar if you delete the .local-chromium folder and run the binary again, what happens?

silverAndroid avatar Oct 18 '21 01:10 silverAndroid

@silverAndroid Same as before

Downloading compatible version of Chrome - 111.1 Mb [====================] 100% 0.0s
INFO (10414 on MacBook): Checking for updates...
INFO (10414 on MacBook): No new updates found, current version 1.5.0
INFO (10414 on MacBook): If you appreciate my work, feel free to buy me a ☕️ (coffee) here 😊: https://www.buymeacoffee.com/rushilperera
ERROR (10414 on MacBook-Pro.local): Error: Failed to launch the browser process!


TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

    at onClose (/snapshot/drivetest-ca-availabilities/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:193:20)
    at Interface.<anonymous> (/snapshot/drivetest-ca-availabilities/node_modules/puppeteer/lib/cjs/puppeteer/node/BrowserRunner.js:183:68)
    at Interface.emit (events.js:387:35)
    at Interface.close (readline.js:451:8)
    at Socket.onend (readline.js:224:10)
    at Socket.emit (events.js:387:35)
    at endReadableNT (internal/streams/readable.js:1317:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)

findjigar avatar Oct 18 '21 02:10 findjigar