question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does not work on Windows

See original GitHub issue

After 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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
janpiocommented, Oct 7, 2021

Seems I am to late to test this, but I can confirm 0.4.0 creates a valid .svg file on Windows 👍

1reaction
boredlandcommented, Oct 7, 2021

guess this can be closed then.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found