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

Clean clone not working #29

Open
AntoniosBarotsis opened this issue Jun 21, 2022 · 1 comment · May be fixed by #34
Open

Clean clone not working #29

AntoniosBarotsis opened this issue Jun 21, 2022 · 1 comment · May be fixed by #34

Comments

@AntoniosBarotsis
Copy link

AntoniosBarotsis commented Jun 21, 2022

There seems to be an issue with the different slashes used between Windows and Linux to represent paths (/ on Linux vs \\ on Windows).

I managed to fix that by adding the following snippet right before this line

Object.keys(allPosterPdfsByRelativeDirectory).forEach(key => {
  let newkey = key.replaceAll("\\", "/");
  allPosterPdfsByRelativeDirectory[newkey] = allPosterPdfsByRelativeDirectory[key];
  delete allPosterPdfsByRelativeDirectory[key];
});
  
const groups = glob //...

This changes the Windows paths into Linux paths which seem to work.

Something else seems to break in the meantime; everything becomes invisible unless hovered over:

image

Not sure what causes this. Didn't spend much time in the codespace but I am guessing that this is again a path issue, something probably happens style-wise to the elements before I edit the paths. Alternatively, it might be something related to the GraphQL stuff that gets generated if you used that to apply styles.

@AntoniosBarotsis
Copy link
Author

Ok so apparently I had to do the exact same thing for allPosterPrevImagesByRelativeDirectory, it seems to be working now, I'll make a pull request

@AntoniosBarotsis AntoniosBarotsis linked a pull request Jun 21, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant