Skip to content

Issue: Dashboard not loading #796

@Dekker500

Description

@Dekker500

Describe the bug
When the FM icon is clicked, the left-column menu appears as expected. Clicking "Open Dashboard" opens a new tab to the right, titled "Front Matter Dashboard", and the progress animation slides left-to-right without finishing.

To Reproduce
I have an existing HUGO project with FM installed. This used to work ~6 months ago.
Reproducing is simply starting VS Code, clicking FM icon, then "Open Dashboard"

I have tried uninstalling the extension, restarting VS Code, then re-installing, however I get no change.
I have another different workspace that works with FM.
I suspect either FM or VS Code were updated, and something broke in the upgrade...

Extension Host has the following error shown:

2024-04-22 10:01:16.705 [error] TypeError: Cannot read properties of undefined (reading 'map')
	at w.<anonymous> (c:\Users\UserID\.vscode\extensions\eliostruyf.vscode-front-matter-10.1.0\dist\extension.js:1:34554)
	at w.t (c:\Users\Michael\.vscode\extensions\eliostruyf.vscode-front-matter-10.1.0\dist\vendors.a8542a5a9120a04f690d.js:2:612104)
	at w.emit (node:events:517:28)
	at w._readdirError (c:\Users\UserID\.vscode\extensions\eliostruyf.vscode-front-matter-10.1.0\dist\vendors.a8542a5a9120a04f690d.js:2:429563)
	at c:\Users\UserID\.vscode\extensions\eliostruyf.vscode-front-matter-10.1.0\dist\vendors.a8542a5a9120a04f690d.js:2:428860
	at FSReqCallback.oncomplete (node:fs:202:23)

Expected behavior
I expect the dashboard to be displayed, with published and draft posts shown.

Screenshots

image

Desktop (please complete the following information):

  • OS: Win 11
  • Browser: Chrome
  • Version: Latest (124)

Additional context
FM Extension: v10.1.0

VS Code

Version: 1.88.1 (system setup)
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:41:02.734Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631

Hugo: v125.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    In BETAThe current task is available for testing in the BETA version.bugSomething isn't workingv10.2.0Project: v10.2.0v10.3.0Project: v10.3.0

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions