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

lucide-react causing compilation issues in Docker (macOS 15.4 Public Beta 4) #2855

Open
6 of 30 tasks
mcorbelli opened this issue Feb 28, 2025 · 1 comment
Open
6 of 30 tasks
Labels
🐛 bug Something isn't working

Comments

@mcorbelli
Copy link

mcorbelli commented Feb 28, 2025

Package

  • lucide
  • lucide-angular
  • lucide-flutter
  • lucide-preact
  • lucide-react
  • lucide-react-native
  • lucide-solid
  • lucide-svelte
  • lucide-vue
  • lucide-vue-next
  • Figma plugin
  • source/main
  • other/not relevant

Version

0.477.0

Can you reproduce this in the latest version?

  • Yes
  • No

Browser

  • Chrome/Chromium
  • Firefox
  • Safari
  • Edge
  • iOS Safari
  • Opera
  • Other/not relevant

Operating system

  • Windows
  • Linux
  • macOS
  • ChromeOS
  • iOS
  • Android
  • Other/not relevant

Description

Since installing macOS 15.4 Public Beta 4, I have encountered an issue where using the lucide-react library causes the entire app to fail to compile when running inside Docker. If any component contains an icon from lucide-react, the app becomes unresponsive, and I am forced to restart Docker completely. However, the issue persists even after restarting Docker.

The app runs fine outside of Docker, and no errors are shown during the compilation process. After excluding every single import manually from a simple page, I traced the issue to the icons from lucide-react. Once all icons are commented out, everything works as expected.

Docker issue

Steps to reproduce

  1. Install lucide-react and use any icon in a component.
  2. Run the app inside Docker on macOS 15.4 Public Beta 4.
  3. The app build will complete but the page build will fail.
  4. No errors are shown during the build process.
  5. Restarting Docker doesn’t resolve the issue.

Checklist

  • I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
@mcorbelli mcorbelli added the 🐛 bug Something isn't working label Feb 28, 2025
@ericfennis
Copy link
Member

@mcorbelli Can you maybe provide an image to reproduce this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants