-
Notifications
You must be signed in to change notification settings - Fork 13
Description
修改package.json指定blocksuite为 0.17.0及以上版本,就会出现错误,导致无法正常运行。应该如何解决?
另外0.16.0正常,0.17.0,0.18.0,0.19.0均报错。
版本信息:
"dependencies": { "@blocksuite/blocks": "0.19.0", "@blocksuite/presets": "0.19.0", "@blocksuite/store": "0.19.0", "vue": "^3.4.27", "yjs": "^13.6.23" },
错误信息:
Uncaught TypeError: Failed to construct 'HTMLElement': Illegal constructor at new ReactiveElement (reactive-element.ts:999:5) at new LitElement (lit-element.ts:122:1) at new _ShadowlessElement (shadowless-element.ts:6:7) at new DerivedClass (with-disposable.ts:34:3) at new SignalWatcher2 (signal-watcher.ts:24:3) at new _a (editor-container.ts:23:59) at initEditor (editor.ts:20:18) at setup (EditorProvider.vue:18:21) at callWithErrorHandling (runtime-core.esm-bundler.js:199:19) at setupStatefulComponent (runtime-core.esm-bundler.js:7907:25)