mermaid-js / mermaid-live-editor

Edit, preview and share mermaid charts/diagrams. New implementation of the live editor.
https://mermaid.live
MIT License
4.13k stars 626 forks source link

Building on Windows #1435

Open osherenko opened 5 months ago

osherenko commented 5 months ago

Describe the bug I'm attempting to build the editor on Windows, but encountering failure. How can I resolve this issue?

To Reproduce

On the console:

docker build -t mermaid-js/mermaid-live-editor . [+] Building 0.1s (2/2) FINISHED docker:default => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load build definition from Dockerfile 0.1s => => transferring dockerfile: 2B 0.0s ERROR: failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount4102788327/Dockerfile: no such file or directory