Some checks are pending
CI / ci (18.x) (push) Waiting to run
CI / ci (20.x) (push) Waiting to run
Deployment Monitor / pre-deployment-check (push) Waiting to run
Deployment Monitor / deployment-notification (push) Blocked by required conditions
Deployment Monitor / security-scan (push) Waiting to run
Linear Integration / Extract Linear Issue ID (push) Waiting to run
Linear Integration / Sync Pull Request Events (push) Blocked by required conditions
Linear Integration / Sync Review Events (push) Blocked by required conditions
Linear Integration / Sync Push Events (push) Blocked by required conditions
Linear Integration / Sync Issue Events (push) Blocked by required conditions
Linear Integration / Notify No Linear ID Found (push) Blocked by required conditions
Linear Integration / Linear Integration Summary (push) Blocked by required conditions
Mobile Build and Release / Test and Lint (push) Waiting to run
Mobile Build and Release / Build Web App (push) Blocked by required conditions
Mobile Build and Release / Build Android App (push) Blocked by required conditions
Mobile Build and Release / Build iOS App (push) Blocked by required conditions
Mobile Build and Release / Semantic Release (push) Blocked by required conditions
Mobile Build and Release / Deploy to Google Play (push) Blocked by required conditions
Mobile Build and Release / Deploy to TestFlight (push) Blocked by required conditions
Mobile Build and Release / Notify Build Status (push) Blocked by required conditions
Release / Quality Checks (push) Waiting to run
Release / Build Verification (push) Blocked by required conditions
Release / Linear Issue Validation (push) Blocked by required conditions
Release / Semantic Release (push) Blocked by required conditions
Release / Post-Release Linear Sync (push) Blocked by required conditions
Release / Deployment Notification (push) Blocked by required conditions
Release / Rollback Preparation (push) Blocked by required conditions
TypeScript Type Check / type-check (18.x) (push) Waiting to run
TypeScript Type Check / type-check (20.x) (push) Waiting to run
Vercel Deployment Workflow / build-and-test (push) Waiting to run
Vercel Deployment Workflow / deployment-notification (push) Blocked by required conditions
Vercel Deployment Workflow / security-check (push) Waiting to run
- BasicApp 제목에 (v2) 추가하여 변경 강제 - Vercel 빌드 캐시 무효화를 위한 더미 변경 - appwriteLogger 에러 해결을 위한 강제 재배포 - Prettier 포맷팅 적용
89 lines
2.5 KiB
JavaScript
89 lines
2.5 KiB
JavaScript
const { chromium } = require("playwright");
|
|
|
|
async function debugVercelHTML() {
|
|
console.log("🔍 Vercel HTML 상세 분석 시작");
|
|
|
|
const browser = await chromium.launch({ headless: true });
|
|
const page = await browser.newPage();
|
|
|
|
try {
|
|
await page.goto("https://zellyy-finance.vercel.app/", {
|
|
waitUntil: "networkidle",
|
|
timeout: 30000,
|
|
});
|
|
|
|
// HTML 전체 내용 출력
|
|
const htmlContent = await page.content();
|
|
console.log("📄 HTML 전체 내용:");
|
|
console.log("=".repeat(80));
|
|
console.log(htmlContent);
|
|
console.log("=".repeat(80));
|
|
|
|
// head 태그 내용 확인
|
|
const headContent = await page.locator("head").innerHTML();
|
|
console.log("\n📍 HEAD 태그 내용:");
|
|
console.log(headContent);
|
|
|
|
// body 태그 내용 확인
|
|
const bodyContent = await page.locator("body").innerHTML();
|
|
console.log("\n📍 BODY 태그 내용:");
|
|
console.log(bodyContent);
|
|
|
|
// JavaScript 에러 확인
|
|
const jsErrors = [];
|
|
page.on("pageerror", (error) => {
|
|
jsErrors.push(error.message);
|
|
});
|
|
|
|
// 페이지 새로고침하여 에러 캡처
|
|
await page.reload({ waitUntil: "networkidle" });
|
|
|
|
console.log("\n🚨 JavaScript 에러들:");
|
|
if (jsErrors.length === 0) {
|
|
console.log("에러 없음");
|
|
} else {
|
|
jsErrors.forEach((error, index) => {
|
|
console.log(`${index + 1}. ${error}`);
|
|
});
|
|
}
|
|
|
|
// 네트워크 요청 확인
|
|
const failedRequests = [];
|
|
page.on("requestfailed", (request) => {
|
|
failedRequests.push(
|
|
`${request.method()} ${request.url()} - ${request.failure()?.errorText}`
|
|
);
|
|
});
|
|
|
|
await page.reload({ waitUntil: "networkidle" });
|
|
|
|
console.log("\n🌐 실패한 네트워크 요청들:");
|
|
if (failedRequests.length === 0) {
|
|
console.log("실패한 요청 없음");
|
|
} else {
|
|
failedRequests.forEach((request, index) => {
|
|
console.log(`${index + 1}. ${request}`);
|
|
});
|
|
}
|
|
|
|
// DOM 상태 확인
|
|
const rootElement = await page.locator("#root").count();
|
|
console.log(
|
|
`\n🎯 #root 요소 존재: ${rootElement > 0 ? "✅ 있음" : "❌ 없음"}`
|
|
);
|
|
|
|
if (rootElement > 0) {
|
|
const rootHTML = await page.locator("#root").innerHTML();
|
|
console.log("📍 #root 내용:");
|
|
console.log(rootHTML);
|
|
}
|
|
} catch (error) {
|
|
console.error("❌ 디버깅 중 오류:", error.message);
|
|
} finally {
|
|
await browser.close();
|
|
console.log("🏁 디버깅 완료");
|
|
}
|
|
}
|
|
|
|
debugVercelHTML().catch(console.error);
|