nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
22.08k stars 1.55k forks source link

[BUG] - Many warnings while building #3954

Closed aiphton closed 3 weeks ago

aiphton commented 3 weeks ago

NextUI Version

@nextui-org/navbar@2.0.37

Describe the bug

When I try to build my application for production I get a bunch of errors like these:

▲ [WARNING] Unexpected "(" [css-syntax-error]

<stdin>:1:45881:
  1 │ ...iable})/${opacityValue})`; } if (opacityVariable) { return `hsl(...
    ╵                                    ^

▲ [WARNING] Expected ":" [css-syntax-error]

<stdin>:1:45907:
  1 │ ... } if (opacityVariable) { return `hsl(var(${nextuiColorVariable}...
    │                                    ^
    ╵                                    :

▲ [WARNING] Expected ":" [css-syntax-error]

<stdin>:1:46006:
  1 │ ...${opacityVariable})))`; } return `hsl(var(${nextuiColorVariable}...
    │                                    ^

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Install the navbar package
  2. Run npm run build

Expected behavior

Building without error messages

Screenshots or Videos

image

Operating System Version

Ubuntu (WSL)

Browser

Chrome

linear[bot] commented 3 weeks ago

ENG-1501 [BUG] - Many warnings while building

wingkwong commented 3 weeks ago

please provide a sandbox.

aiphton commented 3 weeks ago

After further investigation I discovered this issue is not from nextui but from aceternity. I will close this issue.