nextui-org / nextui-cli

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

[BUG] - CLI: upgrade command gives a error #32

Closed withden closed 6 months ago

withden commented 6 months ago

NextUI CLI Version

0.1.5

Describe the bug

Hi,

When i use the nextui upgrade command, it gives me this error:

TypeError: Cannot destructure property 'install' of 'ue(...)' as it is undefined. at Command.Et (file:///home/denish/.nvm/versions/node/v18.18.2/lib/node_modules/nextui-cli/dist/index.js:75:1425) at async Command.parseAsync (/home/denish/.nvm/versions/node/v18.18.2/lib/node_modules/nextui-cli/node_modules/commander/lib/command.js:935:5)

Thanks

Steps to Reproduce the Bug or Issue

  1. Just using nextui upgrade with little old component versions

Expected behavior

It will upgrade to the latest version

Screenshots or Videos

image

Operating System Version

Ubuntu 23.04 (Linux - Kernal 6.5.0-26-generic)

winchesHe commented 6 months ago

@withden Hi, thx your feedback, could you provide your package.json and which package manager using now

withden commented 6 months ago

Hi,

I'm using bun & I see in the code bun is not supported yet. Can I try & create a PR request?