feat: Initialize project with core dependencies, Vultr API client, customer database service, and migration documentation.

This commit is contained in:
2026-02-06 18:11:28 +08:00
parent 73366f4395
commit 41c2fa5fcc
2618 changed files with 852274 additions and 1449 deletions

View File

@@ -0,0 +1,21 @@
const puppeteer = require('puppeteer');
const { BrowserFetcher } = puppeteer;
(async () => {
try {
console.log('Installing browser...');
const browserFetcher = new BrowserFetcher({ path: './node_modules/puppeteer/.local-chromium' });
const revision = '1045629'; // Revision from the error message or a recent stable one
const revisionInfo = await browserFetcher.download(revision);
console.log(`Browser downloaded to ${revisionInfo.folderPath}`);
} catch (e) {
console.error('Download failed:', e);
// Fallback: try default install
try {
console.log("Trying default install...");
require('child_process').execSync('npm install puppeteer', { stdio: 'inherit' });
} catch (err) {
console.error("Manual install failed too");
}
}
})();