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

Investigate gh-pages deployment cache "path not file" after updating to latest version #2547

Open
EltonGohJH opened this issue May 3, 2024 · 1 comment

Comments

@EltonGohJH
Copy link
Contributor

EltonGohJH commented May 3, 2024

Please confirm that you have searched existing issues in the repo

Yes, I have searched the existing issues

Any related issues?

#2538

Tell us about your environment

MarkBind version

5.5.2

Describe the bug and the steps to reproduce it

$ markbind deploy -n
  __  __                  _      ____    _               _
 |  \/  |   __ _   _ __  | | __ | __ )  (_)  _ __     __| |
 | |\/| |  / _` | | '__| | |/ / |  _ \  | | | '_ \   / _` |
 | |  | | | (_| | | |    |   <  | |_) | | | | | | | | (_| |
 |_|  |_|  \__,_| |_|    |_|\_\ |____/  |_| |_| |_|  \__,_|

 v5.5.2
error: The "path" argument must be of type string. Received undefined

To reproduce run markbind deploy locally. It worked for me on WSL2 but it seems like it may not be working for Windows. Note: once we set the cache_dir env variable it will work.

Expected behavior

Should work without the need to explicitly setting cache_dir

Anything else?

We updated gh-pages and it started to not work. Related to this update which introduced the cache folder. Related to the v3.1.0 update for github pages.
image

@EltonGohJH EltonGohJH changed the title Investigate gh-pages deployment cache "path not file" Investigate gh-pages deployment cache "path not file" after updating to latest version May 3, 2024
@damithc
Copy link
Contributor

damithc commented May 10, 2024

For ease of reference, I'm posting here the current remedy for Windows:

Run the following command in the terminal used for running the markbind deploy command:

set CACHE_DIR=cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants