From 21a923caedd95431796deec9b636e94d17dff513 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 22 Apr 2026 01:02:42 -0700 Subject: [PATCH] =?UTF-8?q?[eric]=209router=20windows=20CI=20fix=20v2:=20w?= =?UTF-8?q?ebpack=20ignore=20must=20be=20single=20regex=20(not=20array=20m?= =?UTF-8?q?ixing=20regex+globs=20which=20fails=20validation)=20=E2=80=94?= =?UTF-8?q?=20combine=20logs/.next/Application=20=20=20=20Data/Local=20Set?= =?UTF-8?q?tings=20into=20one=20regex;=20snapshot.managedPaths=20still=20e?= =?UTF-8?q?mpty=20for=20the=20actual=20EPERM=20mitigation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 9router/next.config.mjs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/9router/next.config.mjs b/9router/next.config.mjs index 164c60d0..909eaafd 100644 --- a/9router/next.config.mjs +++ b/9router/next.config.mjs @@ -21,14 +21,10 @@ const nextConfig = { // back on themselves and cause `EPERM: operation not permitted, scandir` // on GitHub Actions runners (cascades into FlightClientEntryPlugin // crash). Local Windows users with normal accounts don't hit this. + // Single regex (webpack rejects mixed regex + glob strings in array). config.watchOptions = { ...config.watchOptions, - ignored: [ - /[\\/](logs|\.next)[\\/]/, - '**/Application Data/**', - '**/Local Settings/**', - '**/AppData/Local/Application Data/**', - ], + ignored: /[\\/](logs|\.next|Application Data|Local Settings)[\\/]/, }; // Disable webpack's user-profile + node_modules snapshotting that // triggers the same EPERM scan during `next build` on CI Windows.