how to create new project?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 430
- Forks
- 154
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 61
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.
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
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.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100