Skip to content

SyntaxError: Invalid regular expression flags on Pi #232

@djspacedevil

Description

@djspacedevil

Hello,

I want to use the tool on my Pi 4 with Ubuntu. But I got the following error:

file:///usr/local/lib/node_modules/codeburn/node_modules/string-width/index.js:19
const zeroWidthClusterRegex = /^(?:\p{Default_Ignorable_Code_Point}|\p{Control}|\p{Format}|\p{Mark}|\p{Surrogate})+$/v;
^

SyntaxError: Invalid regular expression flags
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:152:18)
at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:299:14)

Node.js v18.20.4

BR,

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