Files
music_bot_v2/bot/package.json
claude-bot adb3c59a85 fix: poToken 스크립트 node:20-alpine 크래시 수정 (jsdom 25로 다운그레이드)
jsdom 30은 require('undici') 시 webidl.util.markAsUncloneable is not a function
(node:20-alpine/undici 비호환)으로 import 단계에서 크래시 → 자식 프로세스 code 1.
jsdom 25.0.1은 undici 6를 사용해 해당 경로를 타지 않으며 node:20-alpine(musl)에서
npm ci 재현 빌드 + 실제 실행으로 poToken 생성·주입(204) 검증 완료.
또한 LavalinkManager 실패 로그가 마지막 줄(=Node.js 버전 푸터)만 남겨 원인을 가리던 문제를
전체 출력 꼬리를 남기도록 수정.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-28 23:32:34 +09:00

35 lines
809 B
JSON

{
"name": "music_bot_v2",
"version": "0.0.1",
"description": "discord music bot with lavalink",
"license": "ISC",
"author": "tkrmagid",
"type": "commonjs",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"start": "node .",
"dev": "ts-node src/index.ts",
"test": "ts-node src/test.ts"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^25.5.0",
"@types/spotify-api": "^0.0.26",
"ts-node": "^10.9.2",
"typescript": "^6.0.2"
},
"dependencies": {
"better-sqlite3": "^12.8.0",
"bgutils-js": "3.2.0",
"colors": "^1.4.0",
"discord.js": "^14.25.1",
"dotenv": "^17.3.1",
"ioredis": "^5.10.1",
"jsdom": "25.0.1",
"shoukaku": "^4.3.0",
"undici": "^7.24.7",
"youtubei.js": "^18.0.0"
}
}