AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

​Debug blocksuite locally error

Open mxy2316868975javascript opened this issue 5 months ago • 4 comments

What happened?

image image

Distribution version

macOS x64 (Intel)

What browsers are you seeing the problem on if you're using web version?

No response

Are you self-hosting?

  • [X] Yes

Relevant log output

ERROR in ../core/src/components/blocksuite/block-suite-editor/specs/edgeless.ts 12:8-35
export 'EdgelessSurfaceRefBlockSpec' (imported as 'EdgelessSurfaceRefBlockSpec') was not found in '@blocksuite/blocks' (possible exports: AFFINE_AI_PANEL_WIDGET, AFFINE_EDGELESS_COPILOT_WIDGET, AFFINE_EMBED_CARD_TOOLBAR_WIDGET, AFFINE_FORMAT_BAR_WIDGET, AIDoneIcon, AIErrorType, AIItemList, AIStarIcon, AIStarIconWithAnimation, AIStopIcon, AddCursorIcon, AddTextIcon, AffineAIPanelWidget ...

ERROR in ../../../node_modules/@blocksuite/affine-block-surface/dist/surface-block.js 134:32-55
export 'GfxControllerIdentifier' (imported as 'GfxControllerIdentifier') was not found in '@blocksuite/block-std/gfx' (possible exports: GfxBlockElementModel, GfxCompatible, GfxGroupLikeElementModel, GfxLocalElementModel, GfxPrimitiveElementModel, GfxViewportElement, SurfaceBlockModel, Viewport, ZOOM_MAX, ZOOM_MIN, convert, convertProps, derive, field, generateKeyBetween, generateNKeysBetween, getDerivedProps, getFieldPropsSet, gfxContainerSymbol, initializeObservers, initializeWatchers, isGfxContainerElm, local, observe, updateDerivedProps, watch)
 @ ../../../node_modules/@blocksuite/affine-block-surface/dist/index.js 20:0-59 20:0-59
 @ ../core/src/blocksuite/presets/ai/entries/edgeless/actions-config.ts 4:0-71 274:41-60
 @ ../core/src/blocksuite/presets/ai/index.ts 7:0-50 7:0-50
 @ ../core/src/pages/workspace/detail-page/detail-page.tsx 8:0-64 82:27-66
 @ ../core/src/router.tsx 167:18-69
 @ ./src/app.tsx 15:0-45 113:44-50
 @ ./src/index.tsx 16:0-28 55:40-43

ERROR in ../../../node_modules/@blocksuite/affine-block-surface/dist/surface-service.js 22:28-51
export 'GfxControllerIdentifier' (imported as 'GfxControllerIdentifier') was not found in '@blocksuite/block-std/gfx' (possible exports: GfxBlockElementModel, GfxCompatible, GfxGroupLikeElementModel, GfxLocalElementModel, GfxPrimitiveElementModel, GfxViewportElement, SurfaceBlockModel, Viewport, ZOOM_MAX, ZOOM_MIN, convert, convertProps, derive, field, generateKeyBetween, generateNKeysBetween, getDerivedProps, getFieldPropsSet, gfxContainerSymbol, initializeObservers, initializeWatchers, isGfxContainerElm, local, observe, updateDerivedProps, watch)

Anything else?

No response

mxy2316868975javascript avatar Sep 07 '24 07:09 mxy2316868975javascript