Skip to content

Unexpected non-whitespace character after JSON at position 3 #239

@stein2nd

Description

@stein2nd

I installed "envinfo@7.10.0" globally.
I ran the command "npx envinfo --system --binaries --npmPackages --markdown --clipboard" and the following results were displayed:

undefined:3
.{
^

SyntaxError: Unexpected non-whitespace character after JSON at position 3
at JSON.parse ()
at [User home directory]/.nodebrew/node/v20.5.0/lib/node_modules/envinfo/dist/envinfo.js:1:1715
at async Promise.all (index 1)
at async Promise.all (index 10)

Node.js v20.5.0

System:

  • OS: macOS 13.5
  • CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  • Memory: 285.12 MB / 32.00 GB
  • Shell: 3.2.57 - /bin/bash

Binaries:

  • Node: 20.5.0 - ~/.nodebrew/current/bin/node
  • Yarn: 1.22.19 - /usr/local/bin/yarn
  • npm: 9.8.0 - ~/.nodebrew/current/bin/npm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions