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

Esoteric problem with nunjucks shortcode in Powershell 7 #12

Closed
lwojcik opened this issue Feb 14, 2024 · 4 comments
Closed

Esoteric problem with nunjucks shortcode in Powershell 7 #12

lwojcik opened this issue Feb 14, 2024 · 4 comments

Comments

@lwojcik
Copy link

lwojcik commented Feb 14, 2024

Hi!

First of all, thank you very much for your work. This plugin rocks!

I use it across many projects of mine and I recently was contacted by someone who tried to run my Eleventy template using Windows 10. When I tried reproducing their issue on a Virtualbox machine, I started getting an error Error: EBUSY: resource busy or locked: [path to favicon.svg here]

I can't reproduce it anywhere else than Powershell 7 and I'm not sure what's going on there.

I also explained this issue in detail here: lwojcik/eleventy-template-bliss#91

Any ideas?

@NJAldwin
Copy link
Owner

@lwojcik I don't really know where to start debugging this; however, #13 includes some image processing package updates, which might possibly resolve the underlying issue?

@gradyat
Copy link

gradyat commented Jun 18, 2024

I'm also on Windows and have the same issue. I had the issue a while back; coincidentally, I just tried to pick back up on it today, installed the new version and I get the same error. It works on a GitHub Codespace so seems it's specific to Windows.

@gradyat
Copy link

gradyat commented Jun 18, 2024

I found a strange workaround. Wrapping the shortcode in a Nunjucks if statement (one that is true and calls the shortcode) makes it build successfully with no error.

@lwojcik
Copy link
Author

lwojcik commented Jul 1, 2024

@gradyat thanks! Will have that in mind in case I see that problem again.

Tentatively closing this issue as the impact seems to be rather limited.

@lwojcik lwojcik closed this as completed Jul 1, 2024
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

No branches or pull requests

3 participants