I am adopting rich-markdown-editor component in my electron typescript app.
//@ts-ignore
import Editor from 'rich-markdown-editor'
[WEBPACK] Errors building renderer.js
Module not found: Error: Can't resolve 'boundless-arrow-key-navigation/build' in '\node_modules\rich-markdown-editor\lib\components\Toolbar'
Module not found: Error: Can't resolve 'outline-icons' in '\node_modules\rich-markdown-editor\lib\components'
Module not found: Error: Can't resolve 'outline-icons' in '\node_modules\rich-markdown-editor\lib\components\Toolbar'
Module not found: Error: Can't resolve 'outline-icons' in '\node_modules\rich-markdown-editor\lib\components\Toolbar'
Module not found: Error: Can't resolve 'outline-icons' in '\node_modules\rich-markdown-editor\lib\components\Toolbar'
Module not found: Error: Can't resolve 'outline-icons' in '\node_modules\rich-markdown-editor\lib\components\Toolbar'
Module not found: Error: Can't resolve 'react-keydown' in '\node_modules\rich-markdown-editor\lib\components\Toolbar'
Module not found: Error: Can't resolve 'react-keydown' in '\node_modules\rich-markdown-editor\lib\components\Toolbar'
Module not found: Error: Can't resolve 'react-medium-image-zoom' in '\node_modules\rich-markdown-editor\lib\components'
Module not found: Error: Can't resolve 'slate-prism' in '\node_modules\rich-markdown-editor\lib'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components\Toolbar'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components\Toolbar'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components\Toolbar'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components\Toolbar'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components\Toolbar'
Module not found: Error: Can't resolve 'styled-components' in '\node_modules\rich-markdown-editor\lib\components\Toolbar'