macos 下 安装 构建都成功, 但是运行时 提示 "permission denied"
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 430
- Forks
- 154
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 61
Description
macos 26.2
重新build 重新执行 npm link 也不行
提示: zsh: permission denied: cocos
执行 npm list -g 能找到 cocos-cli
执行 which cocos 时 提示 cocos not found
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the macOS 26.2 flow with a rebuild, npm link, npm list -g, and which cocos, then inspect how the cocos-cli executable is installed and exposed to zsh. Done means the global package is discoverable and invoking cocos no longer reports permission denied.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100