Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module "path" has been externalized for browser compatibility. Cannot access "path.isAbsolute" in client code. #3448

Open
jesse-mylo opened this issue Feb 2, 2025 · 2 comments

Comments

@jesse-mylo
Copy link

This is happening for me. I just installed daisyui latest, "^4.12.23" (ESM in tailwind config). Using "tailwindcss": "^3.4.17" in a Remix project with Vite. All latest versions, all vanilla install per docs. I see the following in Chrome devtools:

Image

If I remove the plugin from tailwind.config.ts, the errors go away.

Tried to figure out what to do for the last hour but haven't been able to find a solution. I'd like to use daisyui but not possible with all those warning/errors/whatever they are. I don't know why daisyui is running in the browser, or vite thinks it should. It's installed as a dev dependency.

Any help appreciated, thanks.

  • Jesse

Originally posted by @jesse-mylo in #2650

Copy link

github-actions bot commented Feb 2, 2025

Thank you @jesse-mylo for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.

@saadeghi
Copy link
Owner

saadeghi commented Feb 2, 2025

Can you share a reproduction link please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants