Skip to content

Too long error messages get cropped #17632

@paulwer

Description

@paulwer

Describe the bug

Hi, we encountered a error message while performing optimizeDeps feature.
Here was an error and vite listed all files of the repo. The messages contained informations what failed at the end, but the end was cropped by this feature.

Because of the crop feature we are not able to read the error.

Reproduction

no reproduction url

Steps to reproduce

No response

System Info

System:
    OS: Windows 11 10.0.22621
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i7-1255U
    Memory: 1.11 GB / 15.64 GB
  Binaries:
    Node: 18.19.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.2.3 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.14.0 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Edge: Spartan (44.22621.1555.0), Chromium (126.0.2592.68)
    Internet Explorer: 11.0.22621.1

Used Package Manager

npm

Logs

Error: Failed to scan for dependencies from entries:

...and x more lines

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions