You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
On windows system, there is an issue with markdown widget. This happens only when running npm run start, but not when editing active project (deployed on netlify).
Console reports error ´process.cwd is not a function´ from VFile plugin (image 1)
If I try to create new post, it looks ok until I try to edit markdown widget. When I change something in markdown, console reports error process.cwd is not a function. And markdown value is detected as empty (images 2-4)
To Reproduce
on windows run npm run start
click on random post, or go to http://localhost:8080/#/collections/posts/entries/2024-03-01-post-number-20
Expected behavior
markdown field should be loaded and it's value properly detected
Screenshots
Applicable Versions:
Decap CMS version: 3.1.2
Git provider: GitHub
OS: Windows 10 Home
Browser version Brave 1.63.165 (Chromium 122.0)
Node.JS version: 18.19.1
CMS configuration
Issue is replicable on default configuration (config.yml in dev-test)
Additional context
I found the solution, VFile plugin needs to be updated. This should solve the issue vfile/vfile#59
I'll make PR in short
The text was updated successfully, but these errors were encountered:
Describe the bug
On windows system, there is an issue with markdown widget. This happens only when running
npm run start
, but not when editing active project (deployed on netlify).Console reports error ´process.cwd is not a function´ from VFile plugin (image 1)
If I try to create new post, it looks ok until I try to edit markdown widget. When I change something in markdown, console reports error
process.cwd is not a function
. And markdown value is detected as empty (images 2-4)To Reproduce
npm run start
http://localhost:8080/#/collections/posts/entries/2024-03-01-post-number-20
Expected behavior
markdown field should be loaded and it's value properly detected
Screenshots




Applicable Versions:
CMS configuration
Issue is replicable on default configuration (config.yml in dev-test)
Additional context
I found the solution, VFile plugin needs to be updated. This should solve the issue vfile/vfile#59
I'll make PR in short
The text was updated successfully, but these errors were encountered: