Problem
The package.json file contains malformed JSON with literal \n characters instead of actual newlines. This causes npm to fail parsing the repository metadata, resulting in the GitHub repository link not appearing in the npm package page sidebar.
Current State
The package.json file contains:
{\n "name": "github-mcp-custom",\n "version": "1.0.20",\n ...
Instead of properly formatted JSON:
{
"name": "github-mcp-custom",
"version": "1.0.20",
...
Impact
Solution
The package.json needs to be reformatted with proper newlines. This has been fixed locally in version 1.0.21.
Steps to Reproduce
- View the raw package.json file in version 1.0.20
- Notice the literal
\n characters throughout the file
- Check https://www.npmjs.com/package/github-mcp-custom - repository link missing from sidebar
Expected Behavior
- Package.json should be properly formatted JSON
- Repository link should appear in npm package page sidebar
- All JSON parsers should be able to read the file without issues
Environment:
- Package version: 1.0.20
- npm registry: npmjs.com
Problem
The
package.jsonfile contains malformed JSON with literal\ncharacters instead of actual newlines. This causes npm to fail parsing the repository metadata, resulting in the GitHub repository link not appearing in the npm package page sidebar.Current State
The package.json file contains:
Instead of properly formatted JSON:
{ "name": "github-mcp-custom", "version": "1.0.20", ...Impact
Solution
The package.json needs to be reformatted with proper newlines. This has been fixed locally in version 1.0.21.
Steps to Reproduce
\ncharacters throughout the fileExpected Behavior
Environment: