Does not work on Windows
See original GitHub issueAfter fixing https://github.com/keonik/prisma-erd-generator/issues/1 manually, I still did not get a svg file. I could pinpoint it to https://github.com/keonik/prisma-erd-generator/blob/f5afa685e254494341c979c5e1ec9f608b709c3e/src/generate.ts#L167-L174 which does not work on Windows.
A bit of hacking in generate.js
did not help, so I uncommented the line that deletes the temp file afterwards, and ran the following command manually: npx mmdc -i prisma/input.mmd -o C:\\Users\\Jan\\Documents\\throwaway\\repro8264\\prisma\\ERD.svg -t forest
.
Maybe that can be turned into a cross platform solution to this problem.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Windows not working properly anymore - Microsoft Community
Hi guys, I have a problem with windows 10 on my laptop that started a few weeks back and until now I have...
Read more >What You Should Do If Windows Fails to Start
The quickest way to get to Startup Repair is to hard-power-down your PC while it's booting three times. You normally do this by...
Read more >[Solved] Windows 10 Not Responding | Quickly & Easily
How to Fix Windows 10 not responding · Restart your computer · Troubleshoot your computer · Update available drivers · Run System File...
Read more >How to Fix the Windows 10 Start Menu if it's Frozen - Alphr
1. Many problems with Windows come down to corrupt files, and Start menu issues are no exception. To fix this, launch the Task...
Read more >[SOLVED] Windows 10 Start Menu Not Working: 13 Methods
Ways To Fix Windows 10 Start Menu Not Working Error · Method 1: Update Windows · Method 2: Update drivers · Method 3:...
Read more >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
Seems I am to late to test this, but I can confirm
0.4.0
creates a valid .svg file on Windows 👍guess this can be closed then.