Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mdbook uninstalls itself when running from a UNC file share #2330

Open
HendersonSoftworks opened this issue Feb 26, 2024 · 0 comments
Open
Labels
C-bug Category: A bug, incorrect or unintended behavior

Comments

@HendersonSoftworks
Copy link

Problem

When running mdbook from a UNC file share and the command "mdbook serve --open" is used, mdbook will uninstall after a change is made. It will print "[INFO] (mdbook::book): Running the html backend" then exit. Running mdbook again will give the error "mdbook : The term 'mdbook' is not recognized... etc".

Steps

  1. Open an mdbook project in a UNC file share, e.g. \prod.mycompany.local\mynewguide
  2. Run "mdbook serve --open" in Powershell
  3. Make a change to a .md file
  4. After attempting to rebuild the book and run the html backend, mdbook will exit and uninstall itself from your machine

Possible Solution(s)

Copy the mdbook project to your local machine, do the required work, then copy back over to the file share.

Notes

No response

Version

mdbook v0.4.37
@HendersonSoftworks HendersonSoftworks added the C-bug Category: A bug, incorrect or unintended behavior label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: A bug, incorrect or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant