Skip to content

Troubleshooting

npx linersh@latest --version

For version 1.2.1, the output is the following.

liner 1.2.1 (tui) · 1.2.1 (core)

If the platform CLI binary cannot be resolved, --version prints only the npm package version.

If compile reports that a page is JavaScript-rendered or looks like an app shell (ending with "Install JS-rendering support: liner setup-js"), or says "Playwright Chromium isn't installed yet", install headless Chromium once (about 100 MB download, 220 MB on disk).

For a global install:

liner setup-js

For one-shot npx use:

npx --yes linersh@latest setup-js

Liner refuses to fetch addresses on your own machine, private local networks, or cloud metadata endpoints, checking every redirect along the way. Web pages and PDFs are capped at 50 MB.

If your sources live on an intranet or Tailscale network, opt in through ~/.liner/config.toml:

[fetch]
allow_private_network = true

YouTube can block transcript requests for age-restricted, region-locked, or rate-limited videos. If your browser session can view the video, pass a Netscape-format cookies file:

liner compile mobile-design-foundations --cookies ~/cookies.txt

You can also configure a default cookies path in ~/.liner/config.toml.

Point the navigator at a custom CLI binary

Section titled “Point the navigator at a custom CLI binary”

During local development, override the bundled core binary with LINER_BIN:

LINER_BIN=/path/to/liner liner

The launcher searches in order: LINER_BIN, a repo-local virtualenv, the bundled npm platform package, and then liner on PATH.

See Uninstall to preview and remove Liner’s local configuration, source cache, and shared Playwright/npx caches. Saved liners outside those cache paths stay in place.