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

EuiColorPicker does not work #7982

Closed
Astx1999 opened this issue Aug 26, 2024 · 1 comment
Closed

EuiColorPicker does not work #7982

Astx1999 opened this issue Aug 26, 2024 · 1 comment
Labels
answered Issues answered by the EUI team - auto-closes open issues in 7 days if no follow-up response

Comments

@Astx1999
Copy link

Describe the bug
EuiColorPicker is not working it is returning the following error

Error: Module not found in bundle: ./assets/swatch_input
    at http://localhost:3000/node_modules/.vite/deps/chunk-TEVNPHX6.js?v=d0051258:27:9
    at EuiIconClass2.loadIconComponent (http://localhost:3000/node_modules/.vite/deps/chunk-VBKHYUX4.js?v=d0051258:2024:7)
    at EuiIconClass2.componentDidMount (http://localhost:3000/node_modules/.vite/deps/chunk-VBKHYUX4.js?v=d0051258:2065:14)
    at commitLayoutEffectOnFiber (http://localhost:3000/node_modules/.vite/deps/chunk-5YPOADNG.js?v=d0051258:23908:36)
    at commitLayoutMountEffects_complete (http://localhost:3000/node_modules/.vite/deps/chunk-5YPOADNG.js?v=d0051258:24858:17)
    at commitLayoutEffects_begin (http://localhost:3000/node_modules/.vite/deps/chunk-5YPOADNG.js?v=d0051258:24847:15)
    at commitLayoutEffects_begin (http://localhost:3000/node_modules/.vite/deps/chunk-5YPOADNG.js?v=d0051258:24828:19)
    at commitLayoutEffects (http://localhost:3000/node_modules/.vite/deps/chunk-5YPOADNG.js?v=d0051258:24798:11)
    at commitRootImpl (http://localhost:3000/node_modules/.vite/deps/chunk-5YPOADNG.js?v=d0051258:26231:13)
    at commitRoot (http://localhost:3000/node_modules/.vite/deps/chunk-5YPOADNG.js?v=d0051258:26155:13)
    at performSyncWorkOnRoot (http://localhost:3000/node_modules/.vite/deps/chunk-5YPOADNG.js?v=d0051258:25773:11)
    at flushSyncCallbacks (http://localhost:3000/node_modules/.vite/deps/chunk-5YPOADNG.js?v=d0051258:15997:30)
    at http://localhost:3000/node_modules/.vite/deps/chunk-5YPOADNG.js?v=d0051258:25505:21

Image

@Astx1999 Astx1999 added bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible labels Aug 26, 2024
@cee-chen
Copy link
Contributor

This is not an issue with EuiColorPicker specifically - it's that Vite does not support EuiIcon and EUI does not officially support Vite as a build pipeline. Please see #5463 for potential workarounds.

@cee-chen cee-chen closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2024
@cee-chen cee-chen added answered Issues answered by the EUI team - auto-closes open issues in 7 days if no follow-up response and removed bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible labels Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered Issues answered by the EUI team - auto-closes open issues in 7 days if no follow-up response
Projects
None yet
Development

No branches or pull requests

2 participants