SerKo

Results 33 comments of SerKo

@userquin Thanks for providing this information and saving me a lot of time! 💚 I’ll take a look and see if it fixes the issue.

I tried the following: - ✅ Using twoslash’s `createFileSystemTypesCache` successfully reduced memory usage, bringing it down from 24GB to 12GB. - ❌ Reducing `buildConcurrency` didn’t seem to help with memory...

I’m not sure if it’s Netlify’s memory limit or build timeout, but after applying twoslash to all code blocks, Netlify encounters an error when running `build:docs`. 🧐 It can build...

Updated but seems Netlify still can't build.

> @serkodev can we support you somehow? I’m currently still stuck on the issue of not being able to build successfully on Netlify. Since the build works after reducing the...

Inside `.vitepress/config.ts`, the `vite: viteConfig` is imported from `vite.config.ts` so it should be the same?

On my device, if there is a memory leak issue during the build process, an error message like below will be displayed. ``` FATAL ERROR: Ineffective mark-compacts near heap limit...

But my situation is the opposite. With `max-old-space-size=12288`, setting `sourcemap: false` results in a `JavaScript heap out of memory` error. However, if I don’t set it, the build succeeds. Anyway,...

Seems still cannot build on Netlify, seems like the memory usage issue is related to twoslash. I’m thinking about whether it’s possible to build it using GitHub Actions and then...

Yep, after plenty of trial-and-error, I finally got it building successfully on Netlify! 😭