react-select icon indicating copy to clipboard operation
react-select copied to clipboard

Documentation codesandbox is not running correctly

Open zeel opened this issue 4 years ago • 1 comments

https://codesandbox.io/s/vb5fx?module=/example.tsx In documentation page https://react-select.com/home the link to codesandbox is giving error for Custom Styles MultiSelect

DependencyNotFoundError
Could not find dependency: 'chroma-js' relative to '/example.tsx'

I think need to update codesandbox

zeel avatar Dec 28 '21 11:12 zeel

Here how I could reproduce the issue today:

  1. Open the documentation page at https://react-select.com/home

  2. Go to "Styles" menu, then go to "Examples" section, and finally click the code sandbox link next to Multi Select react_select_docs_styles_page react_select_docs_styles_page_examples

Then we get into the sandbox environment, where we see the "Dependency not found" error: react_select_sandbox_error_no_chromajs_dep

It appears that the dependency chroma-js is just missing in package.json because once we click on "install dependency" everything works again and the missing dependency have been added.

I could reproduce the same error for Single Select as well which has same issue.

@JedWatson can you guide if this is a bug to be fixed this repo ?

htech9 avatar Sep 20 '24 07:09 htech9