The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
Fixes 5: the AI-Toolkit folder check no longer makes Turbopack trace the whole project
Claude5404d20bfb0a
diff --git a/src/server/training.ts b/src/server/training.tsindex 1c5be9e1..5d59446a 100644--- a/src/server/training.ts+++ b/src/server/training.ts@@ -355,10 +355,11 @@ function testDatasetDir(): { ok: boolean; detail: string } {const root = datasetRoot();if (!path.isAbsolute(root)) return { ok: false, detail: "Use a full path, like /mnt/shared/datasets" };let at = root;- while (!fs.existsSync(at) && path.dirname(at) !== at) at = path.dirname(at);+ // A folder the person typed, not part of the app: keep Turbopack from tracing the whole project for it.+ while (!fs.existsSync(/*turbopackIgnore: true*/ at) && path.dirname(at) !== at) at = path.dirname(at);try {- if (!fs.statSync(at).isDirectory()) throw new Error(`${at} is a file`);- fs.accessSync(at, fs.constants.W_OK);+ if (!fs.statSync(/*turbopackIgnore: true*/ at).isDirectory()) throw new Error(`${at} is a file`);+ fs.accessSync(/*turbopackIgnore: true*/ at, fs.constants.W_OK);} catch (e) {return { ok: false, detail: `Fuobe can't write to ${root} (${(e as NodeJS.ErrnoException).code ?? (e as Error).message})` };}