fix(web): replace non-existent package versions to unblock Vercel deploys#2
Draft
Copilot wants to merge 2 commits into
Draft
fix(web): replace non-existent package versions to unblock Vercel deploys#2Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…, regenerate package-lock.json Agent-Logs-Url: https://github.com/Biliion-Dollar-Company/supermolt-mono/sessions/1b5ca4df-a41c-4b19-a270-02ef36d85703 Co-authored-by: derbibr-art <248118992+derbibr-art@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix package versions in web/package.json for deployment
fix(web): replace non-existent package versions to unblock Vercel deploys
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
web/package.jsonreferenced versions that don't exist on npm (next@^16.1.6,eslint-config-next@^16.2.1,typescript@^5.9.3,vitest@^4.0.18), causingnpm installto fail immediately on Vercel.Version downgrades
next^16.1.6^15.3.0eslint-config-next^16.2.1^15.3.0typescript^5.9.3^5.7.3vitest^4.0.18^2.1.8@vitest/coverage-v8^4.0.18^2.1.8@next/swc-darwin-arm64→optionalDependenciesThis package is a macOS ARM64-only binary. Keeping it in
dependencieshard-failsnpm installon Linux (including Vercel). Moved tooptionalDependenciesat^15.3.0— installs on macOS ARM64, silently skipped everywhere else.web/package-lock.jsonregenerated with all resolved stable versions.Original prompt
Problem
The Vercel deployment for
supermolt-arenais failing becauseweb/package.jsonreferences non-existent package versions. Next.js 16 has not been publicly released — the latest stable version is 15.x. This causesnpm installto fail on Vercel, breaking the entire build pipeline.Required Changes
File:
web/package.jsonMake the following version changes:
In
dependencies:"next": "^16.1.6"→"next": "^15.3.0""@next/swc-darwin-arm64": "^16.1.6"→"^15.3.0"In
devDependencies:"eslint-config-next": "^16.2.1"→"^15.3.0""typescript": "^5.9.3"→"^5.7.3""vitest": "^4.0.18"→"^2.1.8""@vitest/coverage-v8": "^4.0.18"→"^2.1.8"After updating
package.json, runnpm installinside theweb/directory to regenerateweb/package-lock.jsonwith the resolved stable versions.Why
next@^16.1.6does not exist on npm → Vercelnpm installfails immediatelyeslint-config-next@^16.2.1does not exist on npm → same failuretypescript@^5.9.3andvitest@^4.0.18are pre-release/non-existent versions → potential resolution failuresnext@^15.3.0(latest stable) and stable devDeps will unblock Vercel deployments without any code changesImportant Notes
web/package.jsonand the resultingweb/package-lock.jsonNEXT_PUBLIC_PRIVY_APP_IDanywhere — it must stay as an env variable set in Vercel Dashboardweb/vercel.jsonfile does not need changesmainThe following is the prior conversation context from the user's chat exploration (may be truncated):
Assistant: Ето го пълният комплексен анализ на проекта
Biliion-Dollar-Company/supermolt-mono:🧠 Комплексен Анализ на
supermolt-mono(Trench Terminal)📋 Обзор на Проекта
Trench Terminal е автономна AI платформа за търговия с крипто токени на блокчейн мрежи (Solana, BSC, Base). Проектът е изграден за Colosseum Frontier Hackathon (Април–Май 2026 г.) и представлява затворен loop:
Detect → Deploy → Trade → Learn.Репо: https://github.com/Biliion-Dollar-Company/supermolt-mono
Live: https://trench-terminal-omega.vercel.app
Лиценз: MIT | Основен език: TypeScript
🏗️ Архитектура — Модули
Проектът е монорепо с 6 основни пакета:
backend/web/mobile/contracts/telegram-bot/shared/🔍 Детален Анализ по Модул
1. 🖥️ Backend (
backend/src/)Технологичен стек: Hono (ultra-fast web framework), Bun runtime, Prisma ORM, PostgreSQL, Socket.IO, Redis
Услуги (Services) — ~50+ файла
Ключовите услуги включват:
agent-signal-reactor.tsagent-trading-loop.tsagent-trade-reactor.tstrading-executor.tstrigger-engine.tstrending-token-sync.tstreasury-manager.service.tserc8004-identity/reputation/validation.service.tsprediction-coordinator.tsclanker-monitor.ts/fourmeme-monitor.ts/bsc-monitor.tshelius-websocket.tswebsocket-events.tsllm.service.tssortino.service.tsAPI Routes — ~40+ файла
messaging.tsinternal.tswebhooks.tssocial-feed.routes.tsprediction.routes.tsvoting.tscopy-trade.tserc8004.routes.tstrading.routes.tsponzinomics.tsDatabase Schema (Prisma)
Богата схема с 20+ модела:
TradingAgent— AI агент с XP/нива, Pump.fun токенизация, ERC-8004PaperTrade/AgentTrade— Симулирани и реални сделкиThis pull request was created from Copilot chat.