Skip to content

Crawlee CLI Broken for macOS13 #1770

@ForumeFoundation

Description

@ForumeFoundation

Background

The release of Playwright 1.58.0 has broken the CLI for macOS 13.

You can review the breaking changes on their release notes, here:
https://github.com/microsoft/playwright/releases/tag/v1.58.0

Steps to Reproduce

  1. Follow the instructions here
    https://crawlee.dev/python/docs/introduction/setting-up#using-crawlee-cli-directly

Expected Outcome

A New Crawlee Project is created.

Actual Outcome

Creation of the Project fails with the following error:

Failed to install browsers Error: ERROR: Playwright does not support webkit on mac13 Traceback (most recent call last): ⠇ Bootstrapping... File "/var/folders/2j/8wzk93sd24q5361wfk_trcnw0000gn/T/tmp_69dlrv_.py", line 22, in <module> subprocess.check_call([str(path / 'playwright'), 'install']) ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/Cellar/python@3.13/3.13.5/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 419, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['.venv/bin/playwright', 'install']' returned non-zero exit status 1. Stopping generation because post_gen_project hook script didn't exit successfully Project creation failed. Check the error message above.

Metadata

Metadata

Assignees

Labels

t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions