Editor raises a bunch of weird errors and does not render

Hi!

I am trying to implement the very basic example:

import { Editor } from '@atlaskit/editor-core';

<Editor />

At first it was failing because of stupid Uncaught ReferenceError: process is not defined, which I handled by adding

'--define:process.env.CI=false' '--define:process.env.NODE_DEBUG=false'

to my esbuild command (which is disappointing already, process is not actually supposed to exist in browser).

Then there were errors complaining to some cosmic IntlProvider, which I had to add to the code, though it was not described in documentation and I have no idea what it actually does:

<IntlProvider locale="en">
  <Editor />
</IntlProvider>

Currently I have a lot of untraceable exceptions, coming from god-only-knows-where:

The above error occurred in the <ReactEditorView2> component:
    in ReactEditorView2 (created by Context.Consumer)
    in injectIntl(ReactEditorView2) (created by PortalProvider)
    in PortalProvider (created by Context.Consumer)
    in injectIntl(PortalProvider) (created by WithCreateAnalyticsEvent2)
    in LegacyContextAdapter2 (created by ContextAdapter2)
    in ContextAdapter2 (created by WithCreateAnalyticsEvent2)
    in LegacyEditorContext2 (created by WithCreateAnalyticsEvent2)
    in div (created by EmotionCssPropInternal)
    in EmotionCssPropInternal (created by WidthProvider2)
    in WidthProvider2 (created by EmotionCssPropInternal)
    in EmotionCssPropInternal (created by WithCreateAnalyticsEvent2)
    in IntlErrorBoundary2 (created by ErrorBoundaryWithEditorView2)
    in ErrorBoundaryWithEditorView2 (created by _WithFeatureFlags2)
    in _WithFeatureFlags2 (created by WithCreateAnalyticsEvent2)
    in WithCreateAnalyticsEvent2 (created by WithAnalyticsEvents(WithCreateAnalyticsEvent2))
    in WithAnalyticsEvents(WithCreateAnalyticsEvent2) (created by Editor4)
    in AnalyticsContext4 (created by FabricEditorAnalyticsContext)
    in FabricEditorAnalyticsContext (created by Editor4)
    in Editor4 (created by ShoppingList)
    in LegacyEditorContext2 (created by ShoppingList)
    in IntlProvider (created by ShoppingList)
    in ShoppingList

React will try to recreate this component tree from scratch using the error boundary you provided, IntlErrorBoundary2.
logCapturedError @ application-b74497564d8bbfb41be60e827999bad25807069e.js:38562
logError3 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:38592
callback2 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:39414
callCallback3 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:33703
commitUpdateQueue @ application-b74497564d8bbfb41be60e827999bad25807069e.js:33720
commitLifeCycles @ application-b74497564d8bbfb41be60e827999bad25807069e.js:38809
commitLayoutEffects @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40665
callCallback4 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:25373
invokeGuardedCallbackDev @ application-b74497564d8bbfb41be60e827999bad25807069e.js:25398
invokeGuardedCallback @ application-b74497564d8bbfb41be60e827999bad25807069e.js:25429
commitRootImpl @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40493
unstable_runWithPriority @ application-b74497564d8bbfb41be60e827999bad25807069e.js:24807
runWithPriority$1 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32660
commitRoot @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40394
finishSyncRender @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40016
performSyncWorkOnRoot @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40008
scheduleUpdateOnFiber @ application-b74497564d8bbfb41be60e827999bad25807069e.js:39652
updateContainer @ application-b74497564d8bbfb41be60e827999bad25807069e.js:41784
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42072
unbatchedUpdates @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40085
legacyRenderSubtreeIntoContainer @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42071
render2 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42134
connect @ application-b74497564d8bbfb41be60e827999bad25807069e.js:462253
connect @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373429
connectContextForScope @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373616
scopeConnected @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373917
elementMatchedValue @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373838
tokenMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373161
tokenMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373098
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373092
tokensMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373092
elementMatchedAttribute @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373081
elementMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372891
addElement @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372840
refresh @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372765
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372735
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372867
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373063
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373142
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373816
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373885
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373967
await in start (async)
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373960
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:374296
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:464818
Show 12 more frames
application-b74497564d8bbfb41be60e827999bad25807069e.js:50817 Uncaught RangeError: Adding different instances of a keyed plugin (plugin$2)
    at application-b74497564d8bbfb41be60e827999bad25807069e.js:50817:21
    at Array.forEach (<anonymous>)
    at new Configuration6 (application-b74497564d8bbfb41be60e827999bad25807069e.js:50815:20)
    at Function.create9 [as create] (application-b74497564d8bbfb41be60e827999bad25807069e.js:50905:23)
    at ReactEditorView2.createEditorState (application-b74497564d8bbfb41be60e827999bad25807069e.js:458221:56)
    at new ReactEditorView2 (application-b74497564d8bbfb41be60e827999bad25807069e.js:458502:33)
    at constructClassInstance (application-b74497564d8bbfb41be60e827999bad25807069e.js:34003:28)
    at updateClassComponent (application-b74497564d8bbfb41be60e827999bad25807069e.js:37058:15)
    at beginWork (application-b74497564d8bbfb41be60e827999bad25807069e.js:38015:24)
    at beginWork$1 (application-b74497564d8bbfb41be60e827999bad25807069e.js:40914:24)
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:50817
Configuration6 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:50815
create9 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:50905
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:458221
ReactEditorView2 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:458502
constructClassInstance @ application-b74497564d8bbfb41be60e827999bad25807069e.js:34003
updateClassComponent @ application-b74497564d8bbfb41be60e827999bad25807069e.js:37058
beginWork @ application-b74497564d8bbfb41be60e827999bad25807069e.js:38015
beginWork$1 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40914
performUnitOfWork @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40259
workLoopSync @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40241
performSyncWorkOnRoot @ application-b74497564d8bbfb41be60e827999bad25807069e.js:39978
scheduleUpdateOnFiber @ application-b74497564d8bbfb41be60e827999bad25807069e.js:39652
updateContainer @ application-b74497564d8bbfb41be60e827999bad25807069e.js:41784
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42072
unbatchedUpdates @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40085
legacyRenderSubtreeIntoContainer @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42071
render2 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42134
connect @ application-b74497564d8bbfb41be60e827999bad25807069e.js:462253
connect @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373429
connectContextForScope @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373616
scopeConnected @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373917
elementMatchedValue @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373838
tokenMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373161
tokenMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373098
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373092
tokensMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373092
elementMatchedAttribute @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373081
elementMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372891
addElement @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372840
refresh @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372765
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372735
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372867
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373063
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373142
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373816
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373885
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373967
await in start (async)
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373960
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:374296
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:464818
Show 8 more frames
application-b74497564d8bbfb41be60e827999bad25807069e.js:38562 The above error occurred in the <IntlErrorBoundary2> component:
    in IntlErrorBoundary2 (created by ErrorBoundaryWithEditorView2)
    in ErrorBoundaryWithEditorView2 (created by _WithFeatureFlags2)
    in _WithFeatureFlags2 (created by WithCreateAnalyticsEvent2)
    in WithCreateAnalyticsEvent2 (created by WithAnalyticsEvents(WithCreateAnalyticsEvent2))
    in WithAnalyticsEvents(WithCreateAnalyticsEvent2) (created by Editor4)
    in AnalyticsContext4 (created by FabricEditorAnalyticsContext)
    in FabricEditorAnalyticsContext (created by Editor4)
    in Editor4 (created by ShoppingList)
    in LegacyEditorContext2 (created by ShoppingList)
    in IntlProvider (created by ShoppingList)
    in ShoppingList

React will try to recreate this component tree from scratch using the error boundary you provided, ErrorBoundaryWithEditorView2.
logCapturedError @ application-b74497564d8bbfb41be60e827999bad25807069e.js:38562
logError3 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:38592
callback2 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:39414
callCallback3 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:33703
commitUpdateQueue @ application-b74497564d8bbfb41be60e827999bad25807069e.js:33720
commitLifeCycles @ application-b74497564d8bbfb41be60e827999bad25807069e.js:38809
commitLayoutEffects @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40665
callCallback4 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:25373
invokeGuardedCallbackDev @ application-b74497564d8bbfb41be60e827999bad25807069e.js:25398
invokeGuardedCallback @ application-b74497564d8bbfb41be60e827999bad25807069e.js:25429
commitRootImpl @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40493
unstable_runWithPriority @ application-b74497564d8bbfb41be60e827999bad25807069e.js:24807
runWithPriority$1 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32660
commitRoot @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40394
finishSyncRender @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40016
performSyncWorkOnRoot @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40008
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32699
unstable_runWithPriority @ application-b74497564d8bbfb41be60e827999bad25807069e.js:24807
runWithPriority$1 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32660
flushSyncCallbackQueueImpl @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32695
flushSyncCallbackQueue @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32686
unbatchedUpdates @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40089
legacyRenderSubtreeIntoContainer @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42071
render2 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42134
connect @ application-b74497564d8bbfb41be60e827999bad25807069e.js:462253
connect @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373429
connectContextForScope @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373616
scopeConnected @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373917
elementMatchedValue @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373838
tokenMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373161
tokenMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373098
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373092
tokensMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373092
elementMatchedAttribute @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373081
elementMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372891
addElement @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372840
refresh @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372765
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372735
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372867
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373063
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373142
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373816
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373885
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373967
await in start (async)
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373960
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:374296
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:464818
Show 14 more frames
9application-b74497564d8bbfb41be60e827999bad25807069e.js:87644 The pseudo class ":first-child" is potentially unsafe when doing server-side rendering. Try changing it to ":first-of-type".
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:87644
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:87643
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:87455
serialize @ application-b74497564d8bbfb41be60e827999bad25807069e.js:87425
stylis3 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:87739
insert @ application-b74497564d8bbfb41be60e827999bad25807069e.js:87750
insertStyles2 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:88072
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:88570
useInsertionEffect3 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:88544
useInsertionEffectMaybe @ application-b74497564d8bbfb41be60e827999bad25807069e.js:88450
Insertion2 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:88569
renderWithHooks @ application-b74497564d8bbfb41be60e827999bad25807069e.js:35288
mountIndeterminateComponent @ application-b74497564d8bbfb41be60e827999bad25807069e.js:37300
beginWork @ application-b74497564d8bbfb41be60e827999bad25807069e.js:37999
beginWork$1 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40914
performUnitOfWork @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40259
workLoopSync @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40241
performSyncWorkOnRoot @ application-b74497564d8bbfb41be60e827999bad25807069e.js:39978
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32699
unstable_runWithPriority @ application-b74497564d8bbfb41be60e827999bad25807069e.js:24807
runWithPriority$1 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32660
flushSyncCallbackQueueImpl @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32695
flushSyncCallbackQueue @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32686
unbatchedUpdates @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40089
legacyRenderSubtreeIntoContainer @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42071
render2 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42134
connect @ application-b74497564d8bbfb41be60e827999bad25807069e.js:462253
connect @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373429
connectContextForScope @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373616
scopeConnected @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373917
elementMatchedValue @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373838
tokenMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373161
tokenMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373098
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373092
tokensMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373092
elementMatchedAttribute @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373081
elementMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372891
addElement @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372840
refresh @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372765
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372735
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372867
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373063
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373142
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373816
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373885
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373967
await in start (async)
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373960
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:374296
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:464818
Show 16 more frames
application-b74497564d8bbfb41be60e827999bad25807069e.js:25330 Warning: Cannot update a component (`WidthEmitter2`) while rendering a different component (`Context.Consumer`). To locate the bad setState() call inside `Context.Consumer`, follow the stack trace as described in https://fb.me/setstate-in-render
    in WidthEmitter2 (created by WithPluginState)
    in div (created by EmotionCssPropInternal)
    in EmotionCssPropInternal (created by WithPluginState)
    in div (created by EmotionCssPropInternal)
    in EmotionCssPropInternal (created by WithFlash2)
    in WithFlash2 (created by WithPluginState)
    in WithPluginState (created by CommentEditorAppearance)
    in CommentEditorAppearance (created by Context.Consumer)
    in injectIntl(CommentEditorAppearance) (created by ReactEditorView2)
    in ThemeProvider2 (created by BaseThemeWrapper)
    in BaseThemeWrapper (created by Context.Consumer)
    in BaseTheme (created by ReactEditorView2)
    in ReactEditorView2 (created by Context.Consumer)
    in injectIntl(ReactEditorView2) (created by PortalProvider)
    in PortalProvider (created by Context.Consumer)
    in injectIntl(PortalProvider) (created by WithCreateAnalyticsEvent2)
    in LegacyContextAdapter2 (created by ContextAdapter2)
    in ContextAdapter2 (created by WithCreateAnalyticsEvent2)
    in LegacyEditorContext2 (created by WithCreateAnalyticsEvent2)
    in div (created by EmotionCssPropInternal)
    in EmotionCssPropInternal (created by WidthProvider2)
    in WidthProvider2 (created by EmotionCssPropInternal)
    in EmotionCssPropInternal (created by WithCreateAnalyticsEvent2)
    in IntlErrorBoundary2 (created by ErrorBoundaryWithEditorView2)
    in ErrorBoundaryWithEditorView2 (created by _WithFeatureFlags2)
    in _WithFeatureFlags2 (created by WithCreateAnalyticsEvent2)
    in WithCreateAnalyticsEvent2 (created by WithAnalyticsEvents(WithCreateAnalyticsEvent2))
    in WithAnalyticsEvents(WithCreateAnalyticsEvent2) (created by Editor4)
    in AnalyticsContext4 (created by FabricEditorAnalyticsContext)
    in FabricEditorAnalyticsContext (created by Editor4)
    in Editor4 (created by ShoppingList)
    in LegacyEditorContext2 (created by ShoppingList)
    in IntlProvider (created by ShoppingList)
    in ShoppingList
printWarning @ application-b74497564d8bbfb41be60e827999bad25807069e.js:25330
error4 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:25312
warnAboutRenderPhaseUpdatesInDEV @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40953
scheduleUpdateOnFiber @ application-b74497564d8bbfb41be60e827999bad25807069e.js:39640
dispatchAction @ application-b74497564d8bbfb41be60e827999bad25807069e.js:35898
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:460137
updateContextConsumer @ application-b74497564d8bbfb41be60e827999bad25807069e.js:37824
beginWork @ application-b74497564d8bbfb41be60e827999bad25807069e.js:38042
beginWork$1 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40914
performUnitOfWork @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40259
workLoopSync @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40241
performSyncWorkOnRoot @ application-b74497564d8bbfb41be60e827999bad25807069e.js:39978
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32699
unstable_runWithPriority @ application-b74497564d8bbfb41be60e827999bad25807069e.js:24807
runWithPriority$1 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32660
flushSyncCallbackQueueImpl @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32695
flushSyncCallbackQueue @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32686
unbatchedUpdates @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40089
legacyRenderSubtreeIntoContainer @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42071
render2 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42134
connect @ application-b74497564d8bbfb41be60e827999bad25807069e.js:462253
connect @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373429
connectContextForScope @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373616
scopeConnected @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373917
elementMatchedValue @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373838
tokenMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373161
tokenMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373098
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373092
tokensMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373092
elementMatchedAttribute @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373081
elementMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372891
addElement @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372840
refresh @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372765
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372735
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372867
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373063
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373142
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373816
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373885
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373967
await in start (async)
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373960
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:374296
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:464818
Show 10 more frames
application-b74497564d8bbfb41be60e827999bad25807069e.js:50817 Uncaught RangeError: Adding different instances of a keyed plugin (plugin$2)
    at application-b74497564d8bbfb41be60e827999bad25807069e.js:50817:21
    at Array.forEach (<anonymous>)
    at new Configuration6 (application-b74497564d8bbfb41be60e827999bad25807069e.js:50815:20)
    at Function.create9 [as create] (application-b74497564d8bbfb41be60e827999bad25807069e.js:50905:23)
    at ReactEditorView2.createEditorState (application-b74497564d8bbfb41be60e827999bad25807069e.js:458221:56)
    at new ReactEditorView2 (application-b74497564d8bbfb41be60e827999bad25807069e.js:458502:33)
    at constructClassInstance (application-b74497564d8bbfb41be60e827999bad25807069e.js:34003:28)
    at updateClassComponent (application-b74497564d8bbfb41be60e827999bad25807069e.js:37058:15)
    at beginWork (application-b74497564d8bbfb41be60e827999bad25807069e.js:38015:24)
    at beginWork$1 (application-b74497564d8bbfb41be60e827999bad25807069e.js:40914:24)
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:50817
Configuration6 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:50815
create9 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:50905
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:458221
ReactEditorView2 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:458502
constructClassInstance @ application-b74497564d8bbfb41be60e827999bad25807069e.js:34003
updateClassComponent @ application-b74497564d8bbfb41be60e827999bad25807069e.js:37058
beginWork @ application-b74497564d8bbfb41be60e827999bad25807069e.js:38015
beginWork$1 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40914
performUnitOfWork @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40259
workLoopSync @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40241
performSyncWorkOnRoot @ application-b74497564d8bbfb41be60e827999bad25807069e.js:39978
scheduleUpdateOnFiber @ application-b74497564d8bbfb41be60e827999bad25807069e.js:39652
updateContainer @ application-b74497564d8bbfb41be60e827999bad25807069e.js:41784
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42072
unbatchedUpdates @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40085
legacyRenderSubtreeIntoContainer @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42071
render2 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42134
connect @ application-b74497564d8bbfb41be60e827999bad25807069e.js:462253
connect @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373429
connectContextForScope @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373616
scopeConnected @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373917
elementMatchedValue @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373838
tokenMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373161
tokenMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373098
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373092
tokensMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373092
elementMatchedAttribute @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373081
elementMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372891
addElement @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372840
refresh @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372765
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372735
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372867
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373063
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373142
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373816
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373885
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373967
await in start (async)
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373960
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:374296
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:464818
Show 8 more frames
application-b74497564d8bbfb41be60e827999bad25807069e.js:38562 The above error occurred in the <ErrorBoundaryWithEditorView2> component:
    in ErrorBoundaryWithEditorView2 (created by _WithFeatureFlags2)
    in _WithFeatureFlags2 (created by WithCreateAnalyticsEvent2)
    in WithCreateAnalyticsEvent2 (created by WithAnalyticsEvents(WithCreateAnalyticsEvent2))
    in WithAnalyticsEvents(WithCreateAnalyticsEvent2) (created by Editor4)
    in AnalyticsContext4 (created by FabricEditorAnalyticsContext)
    in FabricEditorAnalyticsContext (created by Editor4)
    in Editor4 (created by ShoppingList)
    in LegacyEditorContext2 (created by ShoppingList)
    in IntlProvider (created by ShoppingList)
    in ShoppingList

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
logCapturedError @ application-b74497564d8bbfb41be60e827999bad25807069e.js:38562
logError3 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:38592
update4.callback @ application-b74497564d8bbfb41be60e827999bad25807069e.js:39391
callCallback3 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:33703
commitUpdateQueue @ application-b74497564d8bbfb41be60e827999bad25807069e.js:33720
commitLifeCycles @ application-b74497564d8bbfb41be60e827999bad25807069e.js:38827
commitLayoutEffects @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40665
callCallback4 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:25373
invokeGuardedCallbackDev @ application-b74497564d8bbfb41be60e827999bad25807069e.js:25398
invokeGuardedCallback @ application-b74497564d8bbfb41be60e827999bad25807069e.js:25429
commitRootImpl @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40493
unstable_runWithPriority @ application-b74497564d8bbfb41be60e827999bad25807069e.js:24807
runWithPriority$1 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32660
commitRoot @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40394
finishSyncRender @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40016
performSyncWorkOnRoot @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40008
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32699
unstable_runWithPriority @ application-b74497564d8bbfb41be60e827999bad25807069e.js:24807
runWithPriority$1 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32660
flushSyncCallbackQueueImpl @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32695
flushSyncCallbackQueue @ application-b74497564d8bbfb41be60e827999bad25807069e.js:32686
unbatchedUpdates @ application-b74497564d8bbfb41be60e827999bad25807069e.js:40089
legacyRenderSubtreeIntoContainer @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42071
render2 @ application-b74497564d8bbfb41be60e827999bad25807069e.js:42134
connect @ application-b74497564d8bbfb41be60e827999bad25807069e.js:462253
connect @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373429
connectContextForScope @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373616
scopeConnected @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373917
elementMatchedValue @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373838
tokenMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373161
tokenMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373098
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373092
tokensMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373092
elementMatchedAttribute @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373081
elementMatched @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372891
addElement @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372840
refresh @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372765
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372735
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:372867
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373063
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373142
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373816
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373885
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373967
await in start (async)
start @ application-b74497564d8bbfb41be60e827999bad25807069e.js:373960
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:374296
(anonymous) @ application-b74497564d8bbfb41be60e827999bad25807069e.js:464818
Show 14 more frames
application-b74497564d8bbfb41be60e827999bad25807069e.js:373998 Error connecting controller

RangeError: Adding different instances of a keyed plugin (plugin$2)
    at application-b74497564d8bbfb41be60e827999bad25807069e.js:50817:21
    at Array.forEach (<anonymous>)
    at new Configuration6 (application-b74497564d8bbfb41be60e827999bad25807069e.js:50815:20)
    at Function.create9 [as create] (application-b74497564d8bbfb41be60e827999bad25807069e.js:50905:23)
    at ReactEditorView2.createEditorState (application-b74497564d8bbfb41be60e827999bad25807069e.js:458221:56)
    at new ReactEditorView2 (application-b74497564d8bbfb41be60e827999bad25807069e.js:458502:33)
    at constructClassInstance (application-b74497564d8bbfb41be60e827999bad25807069e.js:34003:28)
    at updateClassComponent (application-b74497564d8bbfb41be60e827999bad25807069e.js:37058:15)
    at beginWork (application-b74497564d8bbfb41be60e827999bad25807069e.js:38015:24)
    at beginWork$1 (application-b74497564d8bbfb41be60e827999bad25807069e.js:40914:24)

I had an idea this might be somehow connected with me using esbuild, not a webpacker, but actually editor-core package does not have any clues on how it should be built and what issues can arise.

Anyway, it did not compile with webpacker too:

ERROR in ./node_modules/@atlaskit/link-provider/dist/esm/client/index.js 102:34-43
"export 'default' (imported as 'pThrottle') was not found in 'p-throttle'
    at HarmonyImportSpecifierDependency._getErrors (./node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:109:11)
    at HarmonyImportSpecifierDependency.getErrors (./node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:68:16)
    at Compilation.reportDependencyErrorsAndWarnings (./node_modules/webpack/lib/Compilation.js:1463:22)
    at ./node_modules/webpack/lib/Compilation.js:1258:10
    at AsyncSeriesHook.eval [as callAsync] (eval at create (./node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
    at AsyncSeriesHook.lazyCompileHook (./node_modules/tapable/lib/Hook.js:154:20)
    at Compilation.finish (./node_modules/webpack/lib/Compilation.js:1253:28)
    at ./node_modules/webpack/lib/Compiler.js:672:17
    at _done (eval at create (./node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
    at eval (eval at create (./node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:20:22)

ERROR in ./node_modules/@atlaskit/editor-core/dist/esm/plugins/paste/handlers.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
./node_modules/@atlaskit/editor-core/dist/esm/plugins/macro/index.js:1
import _defineProperty from "@babel/runtime/helpers/defineProperty";
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at Object.compileFunction (node:vm:355:18)
    at wrapSafe (node:internal/modules/cjs/loader:1022:15)
    at Module._compile (node:internal/modules/cjs/loader:1056:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
    at Module.load (node:internal/modules/cjs/loader:972:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:996:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at interopRequire (./node_modules/babel-plugin-macros/dist/index.js:86:15)
    at applyMacros (./node_modules/babel-plugin-macros/dist/index.js:208:17)

ERROR in ./node_modules/@atlaskit/editor-core/dist/esm/plugins/extension/extension-api.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
./node_modules/@atlaskit/editor-core/dist/esm/plugins/macro/index.js:1
import _defineProperty from "@babel/runtime/helpers/defineProperty";
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at Object.compileFunction (node:vm:355:18)
    at wrapSafe (node:internal/modules/cjs/loader:1022:15)
    at Module._compile (node:internal/modules/cjs/loader:1056:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
    at Module.load (node:internal/modules/cjs/loader:972:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:996:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at interopRequire (./node_modules/babel-plugin-macros/dist/index.js:86:15)
    at applyMacros (./node_modules/babel-plugin-macros/dist/index.js:208:17)

ERROR in ./node_modules/@atlaskit/editor-core/dist/esm/plugins/insert-block/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
./node_modules/@atlaskit/editor-core/dist/esm/plugins/macro/index.js:1
import _defineProperty from "@babel/runtime/helpers/defineProperty";
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at Object.compileFunction (node:vm:355:18)
    at wrapSafe (node:internal/modules/cjs/loader:1022:15)
    at Module._compile (node:internal/modules/cjs/loader:1056:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
    at Module.load (node:internal/modules/cjs/loader:972:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:996:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at interopRequire (./node_modules/babel-plugin-macros/dist/index.js:86:15)
    at applyMacros (./node_modules/babel-plugin-macros/dist/index.js:208:17)
ℹ 「wdm」: Failed to compile.

So, my question with - did anyone ever successfully built and run it? Any environment requiremenets? Found no clues in official documentation, and even no working examples in the whole internet.

Hi @TimKovalev,
I am also trying to make it work in our app, but facing various issues. Most of them are fixed by adding correct versions of dependencies e.g. we are using webpack, added below resolutions to package.json -

"resolutions": {
    "prosemirror-model": "1.16.1",
    "prosemirror-transform": "1.4.2",
    "prosemirror-state": "1.4.0",
    "react-error-overlay": "6.0.9"
}

But this below error of is still there, could not get rid of it. It comes in debug/dev mode but it makes dev difficult as any update throws this error and error msg div shows up -

Error: [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.

We already had in app, also tried to surround still does not work.
If anyone knows the solution to this, request your help here.

Thanks,
Parag