[求助] 安装不上
Question
rao@RaodeMacBook-Air-2 ~ % npm install -g opencode-ai npm error code 1 npm error path /opt/homebrew/lib/node_modules/opencode-ai npm error command failed npm error command sh -c bun ./postinstall.mjs || node ./postinstall.mjs npm error Failed to setup opencode binary: Could not find package opencode-darwin-arm64: Cannot find module 'opencode-darwin-arm64/package.json' from '/opt/homebrew/lib/node_modules/opencode-ai/postinstall.mjs' npm error Failed to setup opencode binary: Could not find package opencode-darwin-arm64: Cannot find module 'opencode-darwin-arm64/package.json' npm error Require stack: npm error - /opt/homebrew/lib/node_modules/opencode-ai/postinstall.mjs npm error A complete log of this run can be found in: /Users/rao/.npm/_logs/2026-01-07T01_32_25_506Z-debug-0.log rao@RaodeMacBook-Air-2 ~ %