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

[EuiCodeEditor] Missing module error #2517

Closed
jloleysens opened this issue Nov 11, 2019 · 1 comment
Closed

[EuiCodeEditor] Missing module error #2517

jloleysens opened this issue Nov 11, 2019 · 1 comment
Labels

Comments

@jloleysens
Copy link

On latest version (14.9.0) when running EuiCodeEditor the following error is logged to the Console:

Screenshot 2019-11-11 at 11 52 56

It looks like something is not being imported, see the following sandbox for reproduction:

https://codesandbox.io/s/euicodeeditor-bug-8lklw

(Note: the error is not being logged to the Console there, but running current Kibana (d86b6c7288) the error can be seen in Grokdebugger plugin when viewing console in Chrome).

@jloleysens
Copy link
Author

It looks like I just needed to read the docs on this one 😅

https://elastic.github.io/eui/#/forms/code-editor

The modes and themes weren't being imported and used from brace. There is another issue though: #2524

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

No branches or pull requests

1 participant