nextui-org / nextui-cli

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

[BUG] - CAN NOT INIT PROJECT: RENAME FAILED #96

Open fukemy opened 3 weeks ago

fukemy commented 3 weeks ago

NextUI Version

2

Describe the bug

nextui init next-website

NextUI CLI v0.3.4

┌ Create a new project │ ◇ Select a template (Enter to select) │ App │ ◇ New project name (Enter to skip with default name) │ next-website │ ◇ Select a package manager (Enter to select) │ npm │ └ Template creation failed

└ rename Error: Error: ENOENT: no such file or directory, rename '/Users/abc/Desktop/folder/next-app-template-main' -> '/Users/abc/Desktop/folder/next-website'

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

see above

Expected behavior

see above

Screenshots or Videos

No response

Operating System Version

macos

Browser

Other (add additonal context)

linear[bot] commented 3 weeks ago

ENG-1291 [BUG] - CAN NOT INIT PROJECT: RENAME FAILED

fukemy commented 2 weeks ago

hello, any update here?

winchesHe commented 2 weeks ago

will be fixed after https://github.com/nextui-org/nextui-cli/pull/98 merged

yueqianzhang commented 1 week ago

My company's internal network environment can only access the internet through a proxy. The shell has environment variables set, but they are not taking effect. After checking, it might be related to this link to GitHub - nodejs/undici. Can this issue be resolved?