#The Astro VS Code extension has started crashing
16 messages ยท Page 1 of 1 (latest)
The Astro compiler failed to parse one of your file in an unexpected way
If you could share your project, I'd be able to help debug
I figured as much after reading the issues on Github. Makes the extension crash in a highly unhelpful way. Could be as simple as an unbalanced quote. I cannot share the project, unfortunately.
Thank you for your kind offer.
I'm going to check out old commits in Git until it goes away. Best strategy I got ๐
Unfortunate, like I said in the unbalanced quote issue, we very rarely have crashes in that specific part so it doesn't handle errors very well, I'll try to find some time to make it more helpful and not crash until the upstream issue is fixed
Thank you. That'd be fantastic. If it could spit out the offending string would help a lot ๐
Probably wouldn't be able to do the string, but it could at least do the filename
Seems the extension is a bit less forgiving now. The syntax issues were checked in since April and the previous versions of the extension didn't crash then.
Cases like is is when it's good to have git bisect ๐
Missing end quote: <Redirect url="/new-url />
๐
Yeah, in 2.0 of the extension, we generally made the extension more "correct" which did fix a lot of problems, but also is a bit more strict
I was never a fan of the whole W3C compliance movement at the turn of the millennium and XHTML. Still isn't. HTML5 was the nail in the coffin for that kind of absolutism. Humans make mistakes. Software needs to tolerate us ๐
Thank you for a fantastic extension nonetheless and I hope you can make it produce slightly more useful error messages in the future ๐