Repository navigation
Closed as not planned
Labels
answeredIssues answered by the EUI team - auto-closes open issues in 7 days if no follow-up response
Description
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
Metadata
Metadata
Assignees
Labels
answeredIssues answered by the EUI team - auto-closes open issues in 7 days if no follow-up response

Activity
cee-chen commentedon Aug 26, 2024
This is not an issue with
EuiColorPickerspecifically - it's that Vite does not supportEuiIconand EUI does not officially support Vite as a build pipeline. Please see #5463 for potential workarounds.