how to create new project?
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- cli
Research direction
Reproduce the failure using the documented cocos create --project ./my-game flow, then run the generated cocos create --project . command from the issue. Start at the cocos create CLI entry point and trace how an existing target path is handled. Done means the intended project-creation flow succeeds or the failure is clearly explained and covered by the relevant test.
Written by the indexing model from the issue text.
Description
I try to build and create new project but have this error:
antn@antns-Mac-mini cocos % cocos create --project ./my-game
Creating project...
Path: /Users/antn/Documents/cocos/my-game
Type: 3d
✓ Project created successfully!
Next steps:
cd /Users/antn/Documents/cocos/my-game
cocos create --project .
antn@antns-Mac-mini cocos % cd /Users/antn/Documents/cocos/my-game
antn@antns-Mac-mini my-game % cocos create --project .
Creating project...
Path: /Users/antn/Documents/cocos/my-game
Type: 3d
Warning: target path already exists, will try to create inside it.
✗ Failed to create project.
- Dominant language
- TypeScript
- Stars
- 450
- Forks
- 158
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 33
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from cocos/cocos-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
cocos/cocos-cli#1016 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 57/100
Maintainers usually reply within 1 day
-
cocos-cli 无法通过ts 的编译Open
Difficulty 3/5 1-2 days Newbie friendliness 54/100
cocos/cocos-cli#1017 · 1 comment ·
Maintainers usually reply within 1 day
-
feat: generate Layer-1 MCP tool docs from toolRegistry / Zod schemasPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
bug P2
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
CopilotKit/openmuse#215 ·
Maintainers usually reply within 3 days
-
b:minor bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
software-mansion/argent#1698 ·
Maintainers usually reply within 1 day
-
e2e-failure ready-to-code
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
redhat-developer/rhdh-plugin-export-overlays#4624 · 1 comment ·
Maintainers usually reply within 1 day