Skip to content

Conversation

@Symbolk
Copy link

@Symbolk Symbolk commented Aug 12, 2021

For the latest npm 7.20.5, this extra comma will lead to this error:

npm ERR! code EJSONPARSE
npm ERR! path /Users/symbolk/coding/vscode/syntax-highlighter/package.json
npm ERR! JSON.parse Unexpected token "]" (0x5D) in JSON at position 1239 while parsing near "...\r\n        \"D\",\r\n    ],\r\n    \"activationE..."
npm ERR! JSON.parse Failed to parse JSON data.
npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.

For the latest npm 7.20.5, this extra comma will lead to this error:

```
npm ERR! code EJSONPARSE
npm ERR! path /Users/symbolk/coding/vscode/syntax-highlighter/package.json
npm ERR! JSON.parse Unexpected token "]" (0x5D) in JSON at position 1239 while parsing near "...\r\n        \"D\",\r\n    ],\r\n    \"activationE..."
npm ERR! JSON.parse Failed to parse JSON data.
npm ERR! JSON.parse Note: package.json must be actual JSON, not just JavaScript.
```
@tajmone
Copy link

tajmone commented Feb 18, 2022

This PR happens to be a duplicate of PR #69.

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

Successfully merging this pull request may close these issues.

2 participants