nextui-org / nextui-cli

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

on upgrading to latest #60

Closed nichas143 closed 1 month ago

nichas143 commented 3 months ago

Hi when I add the date "@nextui-org/react": "^2.3.6", I am getting this error on npm run dev

Screenshot 2024-05-03 at 8 53 33 AM
wingkwong commented 3 months ago

Can you share your package.json (only the dependencies part)? Also do you see this error after running this command or it only happens in some specific pages?

nichas143 commented 3 months ago

i have used nextui add date-picker This is the current JSON dependencies.. [image: Screenshot 2024-05-03 at 11.28.48 AM.png]

On Fri, 3 May 2024 at 11:22, աӄա @.***> wrote:

Can you share your package.json (only the dependencies part)? Also do you see this error after running this command or it only happens in some specific pages?

once i install the date-picker post that after one or two route visits it pops and no more movements. Persists on refresh or restart of server i am usign dev enviorn as of now (npm run dev) and is happening on any page after few clicks

— Reply to this email directly, view it on GitHub https://github.com/nextui-org/nextui-cli/issues/60#issuecomment-2092350843, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUCF5IS2VUB5IJBDA5FFVXTZAMQYRAVCNFSM6AAAAABHEZVPG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSGM2TAOBUGM . You are receiving this because you authored the thread.Message ID: @.***>

-- Regards, Sachin Gadkar

Lakshya MTEducare, Mumbai.

wingkwong commented 3 months ago

We can't see the image. Can you double check?

nichas143 commented 3 months ago

Sent from windows phone

On Fri, 3 May 2024 at 11:35 AM, աӄա @.***> wrote:

We can't see the image. Can you double check?

— Reply to this email directly, view it on GitHub https://github.com/nextui-org/nextui-cli/issues/60#issuecomment-2092362875, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUCF5IQF6FXZIX5B7WX7UVLZAMSMPAVCNFSM6AAAAABHEZVPG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSGM3DEOBXGU . You are receiving this because you authored the thread.Message ID: @.***>

nichas143 commented 3 months ago

Any update. Please let me know

Sent from windows phone

On Fri, 3 May 2024 at 11:35 AM, աӄա @.***> wrote:

We can't see the image. Can you double check?

— Reply to this email directly, view it on GitHub https://github.com/nextui-org/nextui-cli/issues/60#issuecomment-2092362875, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUCF5IQF6FXZIX5B7WX7UVLZAMSMPAVCNFSM6AAAAABHEZVPG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSGM3DEOBXGU . You are receiving this because you authored the thread.Message ID: @.***>

nichas143 commented 3 months ago

IMG_2092

Sorry for the inconvenience caused, please find attached the package.json image.

wingkwong commented 3 months ago

date-picker was introduced since 2.3.0. ^2.2.10 won't work.

nichas143 commented 3 months ago

I tried upgrading to latest 2.3.10 i guess. But still the error persists. will upgrade and share the json. I might be doing something wrong in upgrading, can you guide how to go about that.

winchesHe commented 3 months ago

@nichas143 Try delete the node_modules and install dependencies again, and check in tailwind.config.js whether content is correct

nichas143 commented 3 months ago

I deleted the node_modules and installed the dependencies with npm i but same error , on checking the app in npm run dev . .

Screenshot 2024-05-05 at 8 14 54 PM
wingkwong commented 3 months ago

@nichas143 this has been resolved in here and will be available in the next version. The reason is the version bump of react aria would break the existing router. As a workaround, you can use our canary version for the fix.

"@nextui-org/system": "0.0.0-canary-20240504162810"

cc @winchesHe

wingkwong commented 1 month ago

Fixed in nextui-org/nextui