Skip to content

RangeError: Invalid string length on CLI #362

@lrodden

Description

@lrodden

Hi there,

I've been using the latest YLT CLI and it's been working great for most sites. However, for some site, I get the below error.

NOTE: process works in browser tool.

RangeError: Invalid string length at JSON.stringify (<anonymous>) at /usr/local/lib/node_modules/yellowlabtools/bin/cli.js:125:38 at _fulfilled (/usr/local/lib/node_modules/yellowlabtools/node_modules/q/q.js:854:54) at /usr/local/lib/node_modules/yellowlabtools/node_modules/q/q.js:883:30 at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/yellowlabtools/node_modules/q/q.js:816:13) at /usr/local/lib/node_modules/yellowlabtools/node_modules/q/q.js:624:44 at runSingle (/usr/local/lib/node_modules/yellowlabtools/node_modules/q/q.js:137:13) at flush (/usr/local/lib/node_modules/yellowlabtools/node_modules/q/q.js:125:13) at processTicksAndRejections (node:internal/process/task_queues:78:11)

...and the process times out.

CLI command used--> yellowlabtools https://www.stachespaces.com/

ENV:

  • Docker Desktop v4.6.1
  • Node v16.14.2
  • Chromium v99.0.4844.84
  • MacBook Pro Monterey 12.3

Expected Behavior:

  • Runs till completion with stout available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions