Camoufox failing
# crawlee-js
n
I have a project that is using the PlaywrightCrawler from Crawlee. If I create the template camoufox it's running perfectly, when I take the same commands from the package.json of the template and basically following the same example in my project I get the following error:
Copy code
2025-03-13T11:58:38.513Z [Crawler] [INFO ℹ️] Finished! Total 0 requests: 0 succeeded, 0 failed.
{"terminal":true}
2025-03-13T11:58:38.513Z [Crawler] [ERROR ❌] BrowserLaunchError: Failed to launch browser. Please check the following:
- Check whether the provided executable path "/Users/dp420/.cache/camoufox/Camoufox.app/Contents/MacOS/camoufox" is correct.
- Try installing the required dependencies by running `npx playwright install --with-deps` (https://playwright.dev/docs/browsers).
Of course none of those 2 ideas are helping, camoufox binary is already there, and playwright install --with-deps have been already ran because the project was previously running firefox. the entire error log is attached https://cdn.discordapp.com/attachments/1349714201794314240/1349714201999970374/message.txt?ex=67d41ace&is=67d2c94e&hm=94ccecebb822a84aa03fb30f46efea8dab1fd4579034e8dd715ac737926f310f&
h
Someone will reply to you shortly. In the meantime, this might help:
n
Yeah got the same issue and just went with chrome :p if you ever, installed the venv and etc , but it seems like its expecting the binary to be in other place
@NeoNomade | Scraping hellhound npx camoufox-js fetch
n
@nikus found the issue, probably is something in the camoufox-js port. Didn't had time to look into it. I had my crawler script in src/crawler/crawler.ts moved the crawler to src/crawler.ts and worked properly. that was absolutely all.