Files
Genarrative/scripts/server-node-frozen.mjs
2026-04-24 12:21:33 +08:00

9 lines
394 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env node
const command = process.env.npm_lifecycle_event || 'server-node:*';
console.error(`[server-node frozen] ${command} 已冻结。`);
console.error('后端主线已切换到 server-rsRust + SpacetimeDB禁止继续运行或扩展 server-node。');
console.error('如需开发后端能力,请使用 npm run dev:rust 或 server-rs/scripts/*。');
process.exit(1);