claude-code - 💡(How to fix) Fix [Bug] Plugin initialization error [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#50878Fetched 2026-04-20 12:10:33
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3

Error Message

[{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n at async Pq8 (/$bunfs/root/src/entrypoints/cli.js:8390:28460)\n at async E8_ (/$bunfs/root/src/entrypoints/cli.js:8390:30486)\n at async h8_ (/$bunfs/root/src/entrypoints/cli.js:8390:31943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:08.632Z"},{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n at async y1H (/$bunfs/root/src/entrypoints/cli.js:4383:72)\n at async Pq8 (/$bunfs/root/src/entrypoints/cli.js:8390:29313)\n at async E8_ (/$bunfs/root/src/entrypoints/cli.js:8390:30486)\n at async h8_ (/$bunfs/root/src/entrypoints/cli.js:8390:31943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:08.633Z"},{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n at async y1H (/$bunfs/root/src/entrypoints/cli.js:4383:72)\n at async Pq8 (/$bunfs/root/src/entrypoints/cli.js:8390:29313)\n at async E8_ (/$bunfs/root/src/entrypoints/cli.js:8390:30486)\n at async h8_ (/$bunfs/root/src/entrypoints/cli.js:8390:31943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:08.634Z"},{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n at async y1H (/$bunfs/root/src/entrypoints/cli.js:4383:72)\n at async Pq8 (/$bunfs/root/src/entrypoints/cli.js:8390:29313)\n at async E8_ (/$bunfs/root/src/entrypoints/cli.js:8390:30486)\n at async h8_ (/$bunfs/root/src/entrypoints/cli.js:8390:31943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:08.634Z"},{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n at async OL1 (/$bunfs/root/src/entrypoints/cli.js:6140:3557)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6140:4703)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:15.585Z"}]

Code Example

[{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n    at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n    at async Pq8 (/$bunfs/root/src/entrypoints/cli.js:8390:28460)\n    at async E8_ (/$bunfs/root/src/entrypoints/cli.js:8390:30486)\n    at async h8_ (/$bunfs/root/src/entrypoints/cli.js:8390:31943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:08.632Z"},{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n    at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n    at async y1H (/$bunfs/root/src/entrypoints/cli.js:4383:72)\n    at async Pq8 (/$bunfs/root/src/entrypoints/cli.js:8390:29313)\n    at async E8_ (/$bunfs/root/src/entrypoints/cli.js:8390:30486)\n    at async h8_ (/$bunfs/root/src/entrypoints/cli.js:8390:31943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:08.633Z"},{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n    at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n    at async y1H (/$bunfs/root/src/entrypoints/cli.js:4383:72)\n    at async Pq8 (/$bunfs/root/src/entrypoints/cli.js:8390:29313)\n    at async E8_ (/$bunfs/root/src/entrypoints/cli.js:8390:30486)\n    at async h8_ (/$bunfs/root/src/entrypoints/cli.js:8390:31943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:08.634Z"},{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n    at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n    at async y1H (/$bunfs/root/src/entrypoints/cli.js:4383:72)\n    at async Pq8 (/$bunfs/root/src/entrypoints/cli.js:8390:29313)\n    at async E8_ (/$bunfs/root/src/entrypoints/cli.js:8390:30486)\n    at async h8_ (/$bunfs/root/src/entrypoints/cli.js:8390:31943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:08.634Z"},{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n    at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n    at async OL1 (/$bunfs/root/src/entrypoints/cli.js:6140:3557)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6140:4703)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:15.585Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description erro no plugins

Environment Info

  • Platform: linux
  • Terminal: gnome-terminal
  • Version: 2.1.114
  • Feedback ID: 2a26e125-1772-4c7c-8815-8e37d80edbf3

Errors

[{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n    at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n    at async Pq8 (/$bunfs/root/src/entrypoints/cli.js:8390:28460)\n    at async E8_ (/$bunfs/root/src/entrypoints/cli.js:8390:30486)\n    at async h8_ (/$bunfs/root/src/entrypoints/cli.js:8390:31943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:08.632Z"},{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n    at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n    at async y1H (/$bunfs/root/src/entrypoints/cli.js:4383:72)\n    at async Pq8 (/$bunfs/root/src/entrypoints/cli.js:8390:29313)\n    at async E8_ (/$bunfs/root/src/entrypoints/cli.js:8390:30486)\n    at async h8_ (/$bunfs/root/src/entrypoints/cli.js:8390:31943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:08.633Z"},{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n    at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n    at async y1H (/$bunfs/root/src/entrypoints/cli.js:4383:72)\n    at async Pq8 (/$bunfs/root/src/entrypoints/cli.js:8390:29313)\n    at async E8_ (/$bunfs/root/src/entrypoints/cli.js:8390:30486)\n    at async h8_ (/$bunfs/root/src/entrypoints/cli.js:8390:31943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:08.634Z"},{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n    at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n    at async y1H (/$bunfs/root/src/entrypoints/cli.js:4383:72)\n    at async Pq8 (/$bunfs/root/src/entrypoints/cli.js:8390:29313)\n    at async E8_ (/$bunfs/root/src/entrypoints/cli.js:8390:30486)\n    at async h8_ (/$bunfs/root/src/entrypoints/cli.js:8390:31943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:08.634Z"},{"error":"ConfigParseError: Marketplace configuration file is corrupted: : Invalid input: expected record, received array\n    at y5 (/$bunfs/root/src/entrypoints/cli.js:4340:13243)\n    at async OL1 (/$bunfs/root/src/entrypoints/cli.js:6140:3557)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6140:4703)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T20:16:15.585Z"}]

extent analysis

TL;DR

The most likely fix is to correct the Marketplace configuration file to ensure it conforms to the expected record format instead of an array.

Guidance

  • Verify the Marketplace configuration file for any syntax errors or incorrect formatting that could be causing the "Invalid input: expected record, received array" error.
  • Check the file for any recent changes or updates that might have introduced the error.
  • Ensure that the configuration file is properly formatted as a record, as the error suggests an array was received instead.
  • If the issue persists, try resetting the Marketplace configuration to its default state or seeking further documentation on the correct format.

Example

No specific code snippet can be provided without knowing the exact format of the Marketplace configuration file. However, the error suggests that somewhere in the file, an array is being used where a record (object) is expected.

Notes

The exact steps to correct the configuration file depend on its current state and the expected format, which is not provided in the issue description. It's also unclear what changes were made recently that could have caused this error.

Recommendation

Apply a workaround by manually correcting the Marketplace configuration file to match the expected record format, as the error messages indicate a corruption or misformatting of this file.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING