You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Claude Code Usage (ccusage)] No output received from ccusage daily command #21272
when I invoke ccusage extension then choose any command, it dosn't display usage information. The error message is
Error:
Error: No output received from ccusage daily command
at Object.parseOutput [as current] (/Users/ME/.config/raycast/extensions/f3d9667a-c814-4126-b0a2-a2b402608c91/ccusage.js:31:98154)
at /Users/ME/.config/raycast/extensions/f3d9667a-c814-4126-b0a2-a2b402608c91/ccusage.js:11:1774
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
I attempted to resolve this issue with the help of Claude Code. From my analysis, the root cause is that npx attempts to access certain resources via the internet, which fails under specific network environments.
My solution is to invoke ccusage directly to address this problem. Naturally, this requires installing ccusage globally via npm beforehand, like npm install -g ccusage
The solution is:
Add support for direct ccusage command execution
Add new preference option to use direct 'ccusage' command instead of 'npx ccusage@latest'
Update all CLI hooks (daily, monthly, session, total) to support direct command execution
Implement conditional command building based on user preference
Maintain backward compatibility with npx-based execution as default
This change allows users who have ccusage globally installed to bypass npx and use the command directly,
improving performance when ccusage is available globally.
But I’m not sure whether my approach is correct. However, I believe you would be able to resolve this issue properly. So the above information is provided for your reference.
Activity
raycastbot commentedon Sep 1, 2025
Thank you for opening this issue!
🔔 @nyatinte @zhuravel you might want to have a look.
💡 Author and Contributors commands
The author and contributors of
nyatinte/ccusagecan trigger bot actions by commenting:@raycastbot close this issueCloses the issue.@raycastbot close as not plannedCloses the issue as not planned.@raycastbot rename this issue to "Awesome new title"Renames the issue.@raycastbot reopen this issueReopens the issue.@raycastbot assign meAssigns yourself to the issue.@raycastbot good first issueAdds the "Good first issue" label to the issue.@raycastbot keep this issue openMake sure the issue won't go stale and will be kept open by the bot.zzyfisher commentedon Sep 1, 2025
I attempted to resolve this issue with the help of Claude Code. From my analysis, the root cause is that
npxattempts to access certain resources via the internet, which fails under specific network environments.My solution is to invoke ccusage directly to address this problem. Naturally, this requires installing ccusage globally via npm beforehand, like
npm install -g ccusageThe solution is:
Add support for direct ccusage command execution
This change allows users who have ccusage globally installed to bypass npx and use the command directly,
improving performance when ccusage is available globally.
But I’m not sure whether my approach is correct. However, I believe you would be able to resolve this issue properly. So the above information is provided for your reference.
raycastbot commentedon Oct 21, 2025
This issue has been automatically marked as stale because it did not have any recent activity.
It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊
raycastbot commentedon Oct 31, 2025
This issue has been automatically closed due to inactivity.
Feel free to comment in the thread when you're ready to continue working on it 🙂
You can also catch us in Slack if you want to discuss this.
nyatinte commentedon Nov 7, 2025
@raycastbot reopen this issue