Skip to content
Open
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 apps/homework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
},
"dependencies": {
"next": "^13.4.12",
"react": "^18.2.0",
"react": "^19.2.4",
"react-dom": "^18.2.0"
Comment on lines +12 to 13
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

React 19.2.4 is being used with react-dom 18.3.1, which violates react-dom's peer dependency requirement of ^18.3.1. The react-dom package explicitly expects React 18, but React 19 is being provided. This creates a peer dependency mismatch that can cause runtime issues and unexpected behavior.

Additionally, Next.js 13.5.11 has a peer dependency on react ^18.2.0 and react-dom ^18.2.0, but is being used with React 19.2.4. Next.js 13 was not designed to work with React 19, and this version mismatch can lead to compatibility issues.

To fix this issue, either:

  1. Upgrade react-dom to a version compatible with React 19 (if available), OR
  2. Revert React to version 18.3.1 to maintain compatibility with the current ecosystem, OR
  3. Upgrade Next.js to a version that supports React 19 (Next.js 15+ officially supports React 19)

Copilot uses AI. Check for mistakes.
},
"devDependencies": {
"@types/react": "^18.2.0",
"@types/react": "^19.2.14",
"@types/node": "^20.4.2",
"typescript": "^5.1.6"
}
Expand Down
4 changes: 2 additions & 2 deletions apps/roadbook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
},
"dependencies": {
"next": "^13.4.12",
"react": "^18.2.0",
"react": "^19.2.4",
"react-dom": "^18.2.0",
Comment on lines +12 to 13
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

React 19.2.4 is being used with react-dom 18.3.1, which violates react-dom's peer dependency requirement of ^18.3.1. The react-dom package explicitly expects React 18, but React 19 is being provided. This creates a peer dependency mismatch that can cause runtime issues and unexpected behavior.

Additionally, Next.js 13.5.11 has a peer dependency on react ^18.2.0 and react-dom ^18.2.0, but is being used with React 19.2.4. Next.js 13 was not designed to work with React 19, and this version mismatch can lead to compatibility issues.

To fix this issue, either:

  1. Upgrade react-dom to a version compatible with React 19 (if available), OR
  2. Revert React to version 18.3.1 to maintain compatibility with the current ecosystem, OR
  3. Upgrade Next.js to a version that supports React 19 (Next.js 15+ officially supports React 19)

Copilot uses AI. Check for mistakes.
"@mdx-js/react": "^2.3.0",
"@mdx-js/loader": "^2.3.0",
"@blackroad/ui": "workspace:*"
},
"devDependencies": {
"@types/react": "^18.2.0",
"@types/react": "^19.2.14",
"@types/node": "^20.4.2",
"typescript": "^5.1.6",
"@next/mdx": "13.4.12",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react-dom": "^18.0.0"
},
"devDependencies": {
"@types/react": "^18",
"@types/react": "^19",
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

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

This package specifies @types/react ^19 in devDependencies and @types/react-dom ^18 in devDependencies, but @types/react-dom 18.3.7 has a peer dependency requirement of @types/react ^18.0.0. Using @types/react 19.2.14 with @types/react-dom 18.3.7 creates a type definition mismatch.

This can lead to TypeScript compilation errors or incorrect type checking. The @types/react-dom version should be upgraded to one compatible with @types/react 19, or @types/react should remain at version 18.

Suggested change
"@types/react": "^19",
"@types/react": "^18",

Copilot uses AI. Check for mistakes.
"@types/react-dom": "^18",
"autoprefixer": "^10.4.7",
"classnames": "^2.3.2",
Expand Down
Loading
Loading