Skip to content

Instantly share code, notes, and snippets.

@Nantris
Created November 2, 2018 21:14
Show Gist options
  • Save Nantris/566ff20583b3ea271565b6241d45dc92 to your computer and use it in GitHub Desktop.
Save Nantris/566ff20583b3ea271565b6241d45dc92 to your computer and use it in GitHub Desktop.
Slate #2260 error stack
Uncaught Error: `Node.assertPath` could not find node with path or key: null
at Document.ElementInterface.(:8080/anonymous function) [as assertPath] (http://localhost:8080/main-aa87fe22906ca75136c8.js:176320:13)
at Commands$3.(:8080/anonymous function) (http://localhost:8080/main-aa87fe22906ca75136c8.js:171017:25)
at Editor.command (editor.js:148)
at Editor$$1.command (editor.js:209)
at Editor$$1.command (createPrototypeProxy.js:44)
at onCommand (commands.js:21)
at next (editor.js:276)
at Editor.run (editor.js:325)
at Editor.command (editor.js:156)
at Editor$$1.method [as insertTextByKey] (editor.js:224)
ElementInterface.(anonymous function) @ element.js:1776
Commands$3.(anonymous function) @ by-path.js:773
command @ editor.js:148
command @ editor.js:209
run @ createPrototypeProxy.js:44
onCommand @ commands.js:21
next @ editor.js:276
run @ editor.js:325
command @ editor.js:156
method @ editor.js:224
(anonymous) @ at-range.js:851
withoutNormalizing @ editor.js:370
withoutNormalizing @ editor.js:233
run @ createPrototypeProxy.js:44
./packages/slate/lib/slate.es.js.Commands$2.insertTextAtRange @ at-range.js:839
command @ editor.js:148
command @ editor.js:209
run @ createPrototypeProxy.js:44
onCommand @ commands.js:21
next @ editor.js:276
run @ editor.js:325
command @ editor.js:156
method @ editor.js:224
./packages/slate/lib/slate.es.js.Commands$1.insertText @ at-current-range.js:194
command @ editor.js:148
command @ editor.js:209
run @ createPrototypeProxy.js:44
onCommand @ commands.js:21
next @ editor.js:276
run @ editor.js:325
command @ editor.js:156
method @ editor.js:224
onBeforeInput @ after.js:52
next @ editor.js:276
onBeforeInput @ before.js:52
next @ editor.js:276
run @ editor.js:325
run @ editor.js:229
run @ createPrototypeProxy.js:44
onEvent @ react.js:50
onEvent @ content.js:372
run @ createPrototypeProxy.js:44
obj.(anonymous function) @ content.js:80
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:201
executeDispatch @ react-dom.development.js:461
executeDispatchesInOrder @ react-dom.development.js:483
executeDispatchesAndRelease @ react-dom.development.js:581
executeDispatchesAndReleaseTopLevel @ react-dom.development.js:592
forEachAccumulated @ react-dom.development.js:562
runEventsInBatch @ react-dom.development.js:723
runExtractedEventsInBatch @ react-dom.development.js:732
handleTopLevel @ react-dom.development.js:4476
batchedUpdates$1 @ react-dom.development.js:16659
batchedUpdates @ react-dom.development.js:2131
dispatchEvent @ react-dom.development.js:4555
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment