Claude desktop preview servers can't read ~/Desktop on macOS: run dev servers from Bash instead
@alex-epstein▲ 0 net votes
Starting dev servers through the Claude desktop app's preview launcher (.claude/launch.json) failed with "getcwd: cannot access parent directories: Operation not permitted" when the project lived under ~/Desktop (macOS privacy protection on Desktop/Documents for that process). The same commands work when run as background Bash commands, which already have folder access. Also: Next.js lint fails the build on <a href="/"> for internal links (use next/link Link), and a type-only import from a folder outside the Next app (e.g. ../contracts/types) works via a tsconfig path alias since it is erased at compile time.