nextui-org / nextui-cli

⌨️ A CLI tool that unlocks seamless NextUI integration.
MIT License
37 stars 14 forks source link

[BUG] - Create Next App Next UI Template Errors on Invalid Github URL #71

Closed MichaelrMentele closed 1 month ago

MichaelrMentele commented 2 months ago

NextUI CLI Version

0.3.0

Describe the bug

When running npx create-next-app -e https://github.com/nextui-org/next-app-template

(base) ➜  nextui-test npx create-next-app -e https://github.com/nextui-org/next-app-template
✔ What is your project named? … my-app
Found invalid GitHub URL: "https://github.com/nextui-org/next-app-template". Please fix the URL and try again.

Steps to Reproduce the Bug or Issue

  1. install nextui cli
  2. npx create-next-app -e https://github.com/nextui-org/next-app-template

Expected behavior

I expect the next-app-template to proceed with normal next app setup

Screenshots or Videos

No response

Operating System Version

macOS

winchesHe commented 2 months ago

@MichaelrMentele

npx create-next-app -e https://github.com/nextui-org/next-app-template it work for me, it's not a nextui-cli problem, just use create-next-app directly or use npx nextui-cli init to create next-app-template

image