-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Investigate recent Windows build failures #7438
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
Comments
I've deleted |
cc @ovflowd |
Here's another windows build failure https://github.com/nodejs/nodejs.org/actions/runs/13342497649/job/37269100891?pr=7497 |
Running the following commands: npm i --no-audit --no-fund --userconfig=/dev/null --omit=dev
npx --package=turbo@latest -- turbo build --force=true --cache-dir=.turbo/cache Results in the following error during prerendering:
I was able to reproduce the issue and will investigate further. ⸻ The problematic line is from var fontData = fs.readFileSync(fileURLToPath(join(import.meta.url, "../noto-sans-v27-latin-regular.ttf"))); Changing it to the following would likely resolve the issue: var fontData = fs.readFileSync(new URL("../noto-sans-v27-latin-regular.ttf", import.meta.url)); |
I see the issue. I think it's upstream, but essentially, on windows, Edit: The issue is in |
I've reached to Vercel explaining the issue, and will let you know what they say. |
You should not be manipulating file:// URLs with path.join(). |
It is not us. It is the @vercel/og package |
### What Upgrade the `@vercel/og` patch to Next.js which will resolve the build issue on windows. Closes NEXT-4069 Related #77164 Related: nodejs/nodejs.org#7438
This is fixed in vercel/next.js#77650 and should be available on |
TYSM! We will update at the next Next.js release |
Upgrade the `@vercel/og` patch to Next.js which will resolve the build issue on windows. Closes NEXT-4069 Related #77164 Related: nodejs/nodejs.org#7438
Upgrade the `@vercel/og` patch to Next.js which will resolve the build issue on windows. Closes NEXT-4069 Related #77164 Related: nodejs/nodejs.org#7438
See https://github.com/nodejs/nodejs.org/actions/runs/13079510033/job/36499592135?pr=7434 as an example
This does not happen locally for me. (Windows 10 Pro)
Chatter in Slack suggest this might be something that changed on GitHub's side. Perhaps with their runners.
Until we figure it out, or it resolves, this story or a subtask should remove Windows as a required check
The text was updated successfully, but these errors were encountered: