mapperplus icon indicating copy to clipboard operation
mapperplus copied to clipboard

Can you help me fix this problem?

Open Teicu opened this issue 2 years ago • 3 comments

Hello,

I'm trying to run the script on my Mac and Chrome is already installed.

Thank you

_Puppeteer old Headless deprecation warning: In the near future headless: true will default to the new Headless mode for Chrome instead of the old Headless implementation. For more information, please see https://developer.chrome.com/articles/new-headless/. Consider opting in early by passing headless: "new" to puppeteer.launch() If you encounter any bugs, please report them to https://github.com/puppeteer/puppeteer/issues/new/choose.

Error occurred: Error: Failed to launch the browser process! spawn /usr/bin/google-chrome ENOENT

TROUBLESHOOTING: https://pptr.dev/troubleshooting

at ChildProcess.onClose (/Users/root/mapperplus/node_modules/@puppeteer/browsers/lib/cjs/launch.js:277:24)
at ChildProcess.emit (node:events:513:28)
at ChildProcess._handle.onexit (node:internal/child_process:289:12)
at onErrorNT (node:internal/child_process:476:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Processing maps for target: example_output_directory All operations completed successfully!_

Teicu avatar Oct 25 '23 07:10 Teicu

Are you sure you have Chrome executable in that path : /usr/bin/google-chrome? verify this please and let me know. Verify your chrome version by running this cmd : google-chrome --version .

midoxnet avatar Oct 25 '23 08:10 midoxnet

Hi, thank you for your answer, on macOS, Google Chrome is typically installed in the "/Applications"

Teicu avatar Oct 25 '23 09:10 Teicu

Hi, Have you tried to run chrome from you terminal?

To do so, follow this link : https://gist.github.com/gasparrobi/d2d5be833e8828ad89013d2df4d657e3

If everything goes well, please do tell me in order to guide you to make the right changes and make it works for you.

Thank you.

midoxnet avatar Oct 27 '23 08:10 midoxnet