Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stein2nd opened this issue Aug 4, 2023 · 1 comment
Open

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

stein2nd opened this issue Aug 4, 2023 · 1 comment

Comments

@stein2nd
Copy link

stein2nd commented Aug 4, 2023

I installed "[email protected]" 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
@tabrindle
Copy link
Owner

Can you post the result of:
ENVINFO_DEBUG=trace npx envinfo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants