Skip to content

[BUG] - NEXTUI CLI init fails on fresh install using Vite template #128

@jgentes

Description

@jgentes

NextUI CLI Version

0.5.1

Describe the bug

image

nextui init nextui-app -t vite

NextUI CLI v0.5.1

✔ Components data updated successfully!

┌ Create a new project

◇ Select a template (Enter to select)
│ Vite

◇ New project name (Enter to skip with default name)
│ nextui-app

◇ Select a package manager (Enter to select)
│ bun

◇ Template created successfully!
└ rename Error: Error: ENOENT: no such file or directory, rename 'D:\vite-template-main' -> 'D:\nextui-app'

Steps to Reproduce the Bug or Issue

Tried with npx and npm install -g and with different package managers (bun/yarn)

Expected behavior

Expected the template to be created

Screenshots or Videos

No response

Operating System Version

Windows using Bash shell

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions