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
If `playwright install chromium` fails with `TypeError: onExit is not a function`, see the Linux workaround in [Troubleshooting](docs/troubleshooting.md#linux).
Copy file name to clipboardExpand all lines: docs/troubleshooting.md
+25-1Lines changed: 25 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Troubleshooting
2
2
3
3
**Status:** Active
4
-
**Last Updated:** 2026-01-20
4
+
**Last Updated:** 2026-03-13
5
5
6
6
Common issues, known limitations, and workarounds for `notebooklm-py`.
7
7
@@ -307,6 +307,30 @@ audio = next(a for a in artifacts if a.kind == "audio")
307
307
playwright install-deps chromium
308
308
```
309
309
310
+
**`playwright install chromium` fails with `TypeError: onExit is not a function`:**
311
+
312
+
This is an environment-specific Playwright install failure that has been observed with some newer Playwright builds on Linux. `notebooklm-py` only needs a working browser install for `notebooklm login`; the workaround is to install a known-good Playwright version in a clean virtual environment.
313
+
314
+
**Workaround:**
315
+
```bash
316
+
python -m venv .venv
317
+
source .venv/bin/activate
318
+
pip install -U pip
319
+
pip install "playwright==1.57.0"
320
+
python -m playwright install chromium
321
+
pip install -e ".[all]"
322
+
```
323
+
324
+
**Why this order matters:**
325
+
-`python -m playwright ...` ensures you use the Playwright module from the active virtual environment
326
+
- installing the browser before `pip install -e ".[all]"` avoids picking up an older broken global `playwright` executable
327
+
- if you already have another `playwright` on your system, verify with `which playwright` after activation
328
+
329
+
If you need a non-editable install from Git instead of a local checkout, replace the last step with:
0 commit comments