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 end of input, expected the token } #294

Closed
AndyFang36 opened this issue Jan 23, 2023 · 3 comments
Closed

Unexpected end of input, expected the token } #294

AndyFang36 opened this issue Jan 23, 2023 · 3 comments

Comments

@AndyFang36
Copy link

Error node_modules/resolve/test/resolver/malformed_package_json/package.json:2:1

Unexpected end of input, expected the token `}`
   2|
@ljharb
Copy link
Member

ljharb commented Jan 23, 2023

I'm confused; this is a test file inside this package, it's intentionally malformed, and literally nothing should be touching it. Perhaps you're using a tool which is incompetently and naively evaluating all package.json files present in node_modules, even files that your code and tools will never use?

@ljharb
Copy link
Member

ljharb commented Jan 23, 2023

I believe this is a duplicate of #274; duplicate of #266; duplicate of #265; duplicate of #262.

@ljharb ljharb closed this as not planned Won't fix, can't repro, duplicate, stale Jan 23, 2023
@AndyFang36
Copy link
Author

oh, thanks.

ljharb added a commit that referenced this issue Oct 10, 2023
…d security scanners

Fixes #294.
Fixes #274.
Fixes #271.
Fixes #266.
Fixes #265.
Fixes #262.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants