Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"dependencies": {
"@nxg-org/mineflayer-physics-util": "^1.9.2",
"@xboxreplay/xboxlive-auth": "^4.1.0",
"@xboxreplay/xboxlive-auth": "^5.1.0",
"axios": "^1.16.1",
"body-parser": "^1.20.2",
"canvas": "^2.11.2",
Expand All @@ -24,7 +24,7 @@
"node-fetch": "2.7.0",
"openai": "^6.38.0",
"pem": "^1.14.8",
"prismarine-auth": "^2.7.0",
"prismarine-auth": "^3.1.1",
"prismarine-viewer": "^1.28.0",
"prompt-sync": "^4.2.0",
"rsa-json": "^0.0.2",
Expand Down
11 changes: 6 additions & 5 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"input-otp": "^1.1.0",
"ldrs": "^1.0.1",
"lucide-react": "^1.16.0",
"next": "^16.2.6",
"next": "^9.3.3",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0: Next.js was downgraded from ^16.2.6 to ^9.3.3, which is incompatible with React 19 (^19.2.6) used elsewhere in this package.json. Next.js 9 was released in 2020 and supports at most React 16.x, not React 19's APIs or rendering model. This will break the build and the project's next dev/next build scripts. The PR title indicates a dependency bump for axios and related packages — this appears to be an accidental change and should be reverted back to ^16.2.6.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At frontend/package.json, line 41:

<comment>Next.js was downgraded from ^16.2.6 to ^9.3.3, which is incompatible with React 19 (^19.2.6) used elsewhere in this package.json. Next.js 9 was released in 2020 and supports at most React 16.x, not React 19's APIs or rendering model. This will break the build and the project's `next dev`/`next build` scripts. The PR title indicates a dependency bump for axios and related packages — this appears to be an accidental change and should be reverted back to ^16.2.6.</comment>

<file context>
@@ -38,7 +38,7 @@
     "ldrs": "^1.0.1",
     "lucide-react": "^1.16.0",
-    "next": "^16.2.6",
+    "next": "^9.3.3",
     "next-themes": "^0.4.6",
     "react": "^19.2.6",
</file context>
Suggested change
"next": "^9.3.3",
"next": "^16.2.6",

"next-themes": "^0.4.6",
"react": "^19.2.6",
"react-dom": "^19.2.6",
Expand All @@ -49,20 +49,21 @@
"react-skinview3d": "^5.0.3",
"react-zoom-pan-pinch": "^3.4.2",
"recharts": "^2.12.1",
"socket.io-client": "^4.8.1",
"vaul": "^1.0.0",
"socket.io": "4.5.4",
"socket.io-client": "^4.2.0",
"tailwind-merge": "^3.2.0",
"tailwindcss-animate": "^1.0.7"
"tailwindcss-animate": "^1.0.7",
"vaul": "^1.0.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4.3.0",
"@types/cors": "^2.8.17",
"@types/node": "^22",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "^16.2.6",
"postcss": "^8",
"@tailwindcss/postcss": "^4.3.0",
"tailwindcss": "^4.3.0",
"typescript": "^5"
}
Expand Down
Loading