fix: resolve Turbopack build issues in CI environment
Problem: - Turbopack file tracing caused by process.cwd() in upload.ts - Google fonts download failures in CI network environment - Module resolution errors for @vercel/turbopack-next Solutions: - Add turbopackIgnore comment to process.cwd() call - Temporarily disable Google fonts to avoid network dependencies - Use system fonts as fallback for CI builds - Switch to node:20-alpine for faster SSH installation - Add SSH debugging information This should resolve the 493 build errors and enable successful CI deployment.
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import path from 'path';
|
||||
import { nanoid } from 'nanoid';
|
||||
|
||||
function getWorkingDirectory(): string {
|
||||
return process.cwd();
|
||||
return /*turbopackIgnore: true*/ process.cwd();
|
||||
}
|
||||
|
||||
function buildUploadPath(type: string, datePath: string): string {
|
||||
|
||||
Reference in New Issue
Block a user