Open benhancock opened 1 week ago
This issue ended up being because my PAT did not grant permissions to create the repo. A more specific error message would be helpful here.
There are a couple other issues I encounter when running the command, though:
Describe the bug
When I run
netlify sites:create-template
, authorize with GitHub PAT, and select any template, I cannot proceed past the? Site name (leave blank for a random name; you can change it later):
prompt because any input results in a› Warning: undefined.netlify.app already exists or a repository named undefined already exists on this account. Please try a different slug.
message. This appears to actually result in a new site being created whenever leaving blank for a random name, but never for any non-empty name inputSteps to reproduce
netlify sites:create-template
sites:list
afterward, a new site is created for every time you enter a newline for a random name, but no sites are created when you type in a name (whether it is actually a duplicate or not)Configuration
No response
Environment
System: OS: macOS 15.0 CPU: (8) arm64 Apple M2 Memory: 94.78 MB / 8.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 21.6.2 - ~/.nvm/versions/node/v21.6.2/bin/node Yarn: 1.22.21 - ~/.nvm/versions/node/v21.6.2/bin/yarn npm: 10.2.4 - ~/.nvm/versions/node/v21.6.2/bin/npm pnpm: 9.12.0 - ~/.nvm/versions/node/v21.6.2/bin/pnpm npmGlobalPackages: netlify-cli: 17.36.4