vrchat-community / creator-companion

The Entry Point for Making Things in VRChat
https://vrchat.com/home/download
65 stars 457 forks source link

[BUG] Can't create a project by VCC-CLI in MacOS #525

Closed Harry-Jing closed 2 months ago

Harry-Jing commented 2 months ago

Describe the bug

Can't create a project by VCC-CLI in MacOS

To Reproduce

> dotnet tool update --global vrchat.vpm.cli
Tool 'vrchat.vpm.cli' was reinstalled with the latest stable version (version '0.1.26').
> vpm --version
0.1.26
> vpm list repos
[15:22:36 INF] com.vrchat.repos.official | Official (VRChat)
[15:22:36 INF] com.vrchat.repos.curated | Curated (VRChat)
> vpm list templates
[15:22:41 INF] Official Templates:
> tree /Users/harry/.local/share/VRChatCreatorCompanion/
/Users/harry/.local/share/VRChatCreatorCompanion/
├── Logs
├── Repos
│   ├── com.vrchat.avatars
│   │   └── com.vrchat.avatars-3.4.2.zip
│   ├── com.vrchat.base
│   │   └── com.vrchat.base-3.4.2.zip
│   ├── com.vrchat.core.vpm-resolver
│   │   └── com.vrchat.core.vpm-resolver-0.1.26.zip
│   ├── package-cache.json
│   ├── vrc-curated.json
│   └── vrc-official.json
├── VRCTemplates
├── settings.json
└── vcc.liteDb

7 directories, 8 files
> vpm new AvatarMacTest Avatar -p .
[15:24:37 INF] Unity is installed.
[15:24:37 INF] Let's create a project named AvatarMacTest from the template /Users/harry/.local/share/VRChatCreatorCompanion/VRCTemplates/Avatar at the path ./AvatarMacTest
[15:24:37 ERR] Cannot find template path /Users/harry/.local/share/VRChatCreatorCompanion/VRCTemplates/Avatar
[15:24:37 ERR] Could not create the project :(

Expected behavior

To creat a project

Screenshots

No response

Related Product

VPM CLI

Product Version

0.1.26

OS

macOS / Linux

Additional context

No response

anatawa12 commented 2 months ago

you have to install templetes before creating project. https://vcc.docs.vrchat.com/vpm/cli/#install-templates

Harry-Jing commented 2 months ago

Thank you very much, I didn't notice it before.