Closed zAlweNy26 closed 1 year ago
@zAlweNy26 That's an odd one. I assume this is a windows resolution issue. I'll take a look. This happens with astro build
and not with astro check
, I presume?
Yes, I am using Windows 11, nothing to do with astro check
, just a astro build
issue.
Hey @matthewp, I can confirm that this is still an issue today - on Windows 10 22H2, pnpm 8.0.0, and Node v20. Running v2.1.5 of the package.
Does not happen with astro check, only happens with astro build. I get the same exact type of error, and adding the path to external does nothing to fix the issue.
Definitely worth looking into, seems like a pretty big roadblock currently.
Would love a PR if anyone has time to look at this themselves.
@matthewp I figured out why this is happening. I solved this by appending double forward slashes to the path.
I have submitted a PR to fix this issue: https://github.com/matthewp/astro-fastify/pull/22
Hi, I'm trying to build for production, but I get this error when I do
astro check && tsc --noEmit && astro build
:I did what he said:
But I still get the error.