-
Notifications
You must be signed in to change notification settings - Fork 59
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
🐛 BUG: Crash on Windows #786
Comments
I am having the same issue. Fairly same anyways. It happens:
The randomness on my windows machine sort of feels like there is some kind race condition going on. I have spent some hours yesterday and most of today trying to detect a pattern. Trying to build many different commits in our repo, and three different Astro versions, but I am havent found anything predictable to trigger/not trigger the error on my work station. I have seen it triggered with Astro versions node |
Another update: This seems to be a windows only issue. I have tested on macs and linux (running the build on netlify) with no issues. |
Same here. Fails on a Windows 10 machine
but compiles OK to production on the Netlify servers using the Ubuntu Focal 20.04 build image |
I am getting the same issue on wsl2 with Ubuntu and node v20.1.0, Astro 2.4.2,
this is the project https://github.com/SubratKumarGupta/subratgupta-portfolio |
Yes yes yes yes, it totally was due to CRLF line endings, I never thought about it, I just assumed that windows line endings shouldn't cause any issues (I'm a person, who uses all the opensource tools but still on windows 😂). Than-Q, @Princesseuh ! |
What version of
@astrojs/compiler
are you using?2.3.3
What package manager are you using?
npm
What operating system are you using?
Windows
Describe the Bug
In component "List.astro" I get error:
List.astro (code below)
when I remove a line with comment:
then everything seems to work just fine
Warning!
Link below isn't a "minimal reproducible example".
The whole issue with code is described in this post
Link to Minimal Reproducible Example
https://www.thislinkdoesnotexist.com
The text was updated successfully, but these errors were encountered: