Issue: [7.2.0] Dashboard doesn't start.
See original GitHub issueDescribe the bug
- I can’t say if it was the VS Code update to 1.67.0 (I just think so) or FM update to 7.2.0. As far as I remember 7.2.0 worked with VS Code 1.66.2.
- When I try to open the dashboard via button (above, on right side) I just see an endlessly rotating loading spinner.
- When I downgrade FM extension to 7.1.2 everything works like expected.
- Error is:
Uncaught Errors (1)
Cannot read properties of undefined (reading 'map')
Desktop (please complete the following information):
--VS Code version infos--
Version: 1.67.0 (user setup)
Commit: 57fd6d0195bb9b9d1b49f6da5db789060795de47
Date: 2022-05-04T12:06:02.889Z
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Windows_NT x64 10.0.19044
Additional context
- It’s a Hugo project with many mounts to external modules and internal folders.
- The Vs Code Workspace contains 2 folders. 1: just images. 2: the Hugo project inclusive frontmatter.json and .frontmatter folder.
Issue Analytics
- State:
- Created a year ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have found the cause.
In the repo there is a folder buildBefore.
There I run composer.
It creates a folders/file
buildBefore\vendor\bin\yaml-lint
that I can’t upload to the online repo with “Github Desktop” (blocked by WIN (“unreadable” or so)). That’s the reason why the forked repo worked for you without issues.I cannot find any configuration setting that prevents FM from scanning this folder.
After deleting the file
yaml-lint
FM dashboard loads.My last test environment:
I remain with a “Good to know!” 😉
Front Matter BETA v7.3.2292535 solved this issue. Thanks a lot!