claude_code:bugs
Claude Code Bugs
最新版では治っているかもしれないので注意すること
sandboxでnpx tsxが動作しない
子プロセスが作成するUNIXドメインソケットがListenできないため。allowLocalBindingやallowAllUnixSocketsなどを設定してもNGで、これらのオプションが子プロセスに引き継がれてない可能性が高い。
> tsx --test --enable-source-maps --import @power-assert/node test/**/*.test.ts
node:net:1926
const error = new UVExceptionWithHostPort(rval, 'listen', address, port);
^
Error: listen EPERM: operation not permitted /tmp/claude/tsx-501/60175.pipe
at Server.setupListenHandle [as _listen2] (node:net:1926:21)
at listenInCluster (node:net:2005:12)
at Server.listen (node:net:2127:5)
at file:///path/to/node_modules/tsx/dist/cli.mjs:53:31537
at new Promise (<anonymous>)
at createIpcServer (file:///path/to/node_modules/tsx/dist/cli.mjs:53:31515)
at async file:///path/to/node_modules/tsx/dist/cli.mjs:55:459 {
code: 'EPERM',
errno: -1,
syscall: 'listen',
address: '/tmp/clause/tsx-501/60175.pipe',
port: -1
}
sandboxでghコマンドが動作しない
macOS sandboxが Security.frameworkのTLS検証をブロックし、gh, terraform などのGoバイナリが動作しない
claude_code/bugs.txt · 最終更新: by nullpon