Skip to content

JSON Parse error in internal/process/report? #43193

Closed
@wrynegade

Description

@wrynegade

Version

% node -v
v18.2.0

Platform

% uname -a
Linux 5.17.9-arch1-1 #1 SMP PREEMPT Wed, 18 May 2022 17:30:11 +0000 x86_64 GNU/Linux

Subsystem

process.report.getReport

What steps will reproduce the bug?

1 Step: Run process.report.getReport()

How often does it reproduce? Is there a required condition?

I can only reproduce this on the current machine. Two other machines on the same architecture and node version appear unaffected.

Full reinstall of node had no effect.

What is the expected behavior?

No response

What do you see instead?

> process.report.getReport()
Uncaught SyntaxError: Unexpected token v in JSON at position 10540

Additional information

I looked through source and don't understand how this report is generated, so I don't know how to debug.

This prevents me from building a variety of node projects on this machine and only started after an upgrade from v17.

Metadata

Metadata

Assignees

No one assigned

    Labels

    reportIssues and PRs related to process.report.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions