claude-code - 💡(How to fix) Fix [BUG] [Bug] Cowork RPC mount error on every conversation - virtiofs fails to mount artifact path despite directory existing [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#52104Fetched 2026-04-23 07:36:31
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×4

Error Message

Something went wrong RPC error: failed to mount /mnt/.virtiofs-root/shared/Users/ramirj07/Documents/Claude/Artifacts/sprint-report-template as .artifacts/sprint-report-template: source path does not exist and could not be created: /mnt/.virtiofs-root/shared/Users/ramirj07/Documents/Claude/Artifacts/sprint-report-template: mkdir /mnt/.virtiofs-root/shared/Users/ramirj07/Documents: file exists

Code Example

Something went wrong
RPC error: failed to mount /mnt/.virtiofs-root/shared/Users/ramirj07/Documents/Claude/Artifacts/sprint-report-template as .artifacts/sprint-report-template: source path does not exist and could not be created: /mnt/.virtiofs-root/shared/Users/ramirj07/Documents/Claude/Artifacts/sprint-report-template: mkdir /mnt/.virtiofs-root/shared/Users/ramirj07/Documents: file exists
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Every Cowork conversation fails immediately with this RPC mount error, even on brand new conversations unrelated to the original artifact: RPC error: failed to mount /mnt/.virtiofs-root/shared/Users/ramirj07/Documents/Claude/Artifacts/sprint-report-template as .artifacts/sprint-report-template: source path does not exist and could not be created: /mnt/.virtiofs-root/shared/Users/ramirj07/Documents/Claude/Artifacts/sprint-report-template: mkdir /mnt/.virtiofs-root/shared/Users/ramirj07/Documents: file exists

The folder ~/Documents/Claude/Artifacts/sprint-report-template exists on disk and contains an index.html file. Cowork appears to have cached this artifact path from a previous session and attempts to mount it on every new conversation, failing each time.

Steps already tried with no resolution:

Created the folder manually via mkdir -p Cleared extended attributes with xattr -cr Deleted and recreated the folder Cleared ~/Library/Application Support/Claude/

Cowork is completely unusable.

What Should Happen?

Cowork should either successfully mount the artifact path, or gracefully handle a failed mount without blocking all subsequent conversations. A stale artifact path from a previous session should not prevent new, unrelated conversations from starting.

Error Messages/Logs

Something went wrong
RPC error: failed to mount /mnt/.virtiofs-root/shared/Users/ramirj07/Documents/Claude/Artifacts/sprint-report-template as .artifacts/sprint-report-template: source path does not exist and could not be created: /mnt/.virtiofs-root/shared/Users/ramirj07/Documents/Claude/Artifacts/sprint-report-template: mkdir /mnt/.virtiofs-root/shared/Users/ramirj07/Documents: file exists

Steps to Reproduce

  1. Open Claude Desktop and navigate to the Cowork tab
  2. Create a new conversation and generate an artifact (HTML file) saved to ~/Documents/Claude/Artifacts/sprint-report-template
  3. Close or end that conversation
  4. Open any new Cowork conversation — even one completely unrelated to the original artifact
  5. Observe the RPC mount error appears immediately on every new conversation, referencing the old sprint-report-template path

Error persists after:

  • Restarting the app
  • Clearing ~/Library/Application Support/Claude/
  • Recreating the folder manually
  • Clearing extended attributes on the folder and all parent directories

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

1.3883.0

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue can be resolved by finding a way to clear the cached artifact path that Cowork is attempting to mount, as the current methods of clearing cache and recreating folders have not been successful.

Guidance

  • Investigate the cache mechanisms used by Cowork to store artifact paths and find a method to clear this specific cache.
  • Verify that the ~/Documents/Claude/Artifacts/sprint-report-template folder and its contents are correctly set up and accessible.
  • Consider checking for any hidden files or extended attributes in the ~/Documents/Claude/Artifacts directory that might be interfering with the mounting process.
  • If the issue persists, try to isolate the problem by testing with different artifact paths or conversation setups to see if the problem is specific to this one path.

Example

No specific code example can be provided without more information on the internal workings of Cowork or the Claude Code API.

Notes

The exact method for clearing the cached artifact path is not specified in the provided information, so further investigation into Cowork's caching mechanisms is necessary. Additionally, without more details on the expected behavior of Cowork when handling failed mounts, it's difficult to provide a comprehensive solution.

Recommendation

Apply a workaround by attempting to manually manage or clear the cache that stores artifact paths, as the current methods have not been effective, and there is no clear indication of a version upgrade that would fix this issue.

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