uploadthing icon indicating copy to clipboard operation
uploadthing copied to clipboard

[bug]: unable to run dev with tailwind plugin on windows

Open mukund1606 opened this issue 2 years ago โ€ข 1 comments

Provide environment information

System:
    OS: Windows 11 10.0.22631
    CPU: (24) x64 13th Gen Intel(R) Core(TM) i7-13700HX
    Memory: 4.17 GB / 15.75 GB
  Binaries:
    Node: 20.11.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - C:\Program Files\nodejs\yarn.CMD
    npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
    pnpm: 8.15.5 - C:\Program Files\nodejs\pnpm.CMD
  Browsers:
    Edge: Chromium (122.0.2365.92)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @uploadthing/react: 6.4.0 => 6.4.0
    typescript: ^5.4.3 => 5.4.3
    uploadthing: 6.6.0 => 6.6.0

Describe the bug

Issue:

I recently updated my packages and found that I am unable to run dev server or build my next.js app with latest version of uploadthing. Everything was working fine with older version of uploadthing.

Package Manager Used: pnpm

This is the error it is showing:-

image image

But if I downgrade to older version my app compiles and works as intended.

image

Link to reproduction

https://github.com/mukund1606/uploadthing-compile-issue/tree/bug

To reproduce

Steps to reproduce error

  • Update uploadthing from 6.5.2 -> 6.6.0
  • Update @uploadthing/react from 6.3.4 -> 6.4.0

Additional information

Working Code: https://github.com/mukund1606/uploadthing-compile-issue/tree/main

Code with compilation error: https://github.com/mukund1606/uploadthing-compile-issue/tree/bug

๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Contributing

  • [ ] ๐Ÿ™‹โ€โ™‚๏ธ Yes, I'd be down to file a PR fixing this bug!

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

mukund1606 avatar Mar 20 '24 20:03 mukund1606

Fixed by https://github.com/pingdotgg/uploadthing/pull/715

juliusmarminge avatar Mar 20 '24 20:03 juliusmarminge