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

Hugo won't build on windows due to filenames: Alias "de/e.v." #581

Closed
mal-tee opened this issue Apr 29, 2021 · 4 comments
Closed

Hugo won't build on windows due to filenames: Alias "de/e.v." #581

mal-tee opened this issue Apr 29, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@mal-tee
Copy link
Member

mal-tee commented Apr 29, 2021

I tried to build the page with native windows tools instead of WSL and ran into this issue:

PS D:\coding\dade\website> hugo server
Start building sites …
ERROR 2021/04/29 11:24:34 Alias "de/e.v." contains component with a trailing space or period, problematic on Windows
Built in 3163 ms
Error: Error building site: cannot create "de/e.v.": Windows filename restriction
@mal-tee mal-tee added the bug Something isn't working label Apr 29, 2021
mal-tee added a commit that referenced this issue May 1, 2021
@baltpeter
Copy link
Member

Does the solution from #583 (comment) work, @mal-tee?

And if so, can we close this issue? It might be worth documenting this in the README if you've found that developing on Windows directly works reliably.

@mal-tee
Copy link
Member Author

mal-tee commented May 24, 2021

Yes, that works. Another problem on windows is the deploy.sh script, I used WSL to run it once. Besides that I see no further problem, except line endings, but that's more of an IDE/git config problem on my side. ^^

@baltpeter
Copy link
Member

@mal-tee Do you want to work on actually fixing this or can we close this issue now that #698 is merged?

@mal-tee mal-tee closed this as completed Oct 1, 2021
@mal-tee
Copy link
Member Author

mal-tee commented Oct 1, 2021

Yeah, this issue was more of a reminder to document this somewhere. :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants