Skip to content
Closed
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"dependencies": {
"@emailjs/browser": "^4.4.1",
"@react-three/drei": "^9.121.2",
"@react-three/fiber": "^8.17.12",
"@react-three/fiber": "^9.0.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash

echo "=== Checking `@react-three/fiber` v9 peer deps ==="
npm view `@react-three/fiber`@9 peerDependencies --json 2>/dev/null | jq .

echo -e "\n=== Checking `@react-three/drei` v9 peer deps ==="
npm view `@react-three/drei`@9.121.2 peerDependencies --json 2>/dev/null | jq .

echo -e "\n=== Current React version in package.json ==="
cat package.json | jq '.dependencies.react'

echo -e "\n=== Current react-three/fiber spec ==="
cat package.json | jq '.dependencies."@react-three/fiber"'

echo -e "\n=== Current react-three/drei spec ==="
cat package.json | jq '.dependencies."@react-three/drei"'

Repository: SamuelIVX/SamuelIVX.github.io

Length of output: 3982


Peer dependency conflicts prevent installation: @react-three/fiber v9 and @react-three/drei v9 are incompatible.

This PR update cannot be merged as-is due to multiple conflicting peer dependencies:

  1. @react-three/fiber@9 requires react ">=19 <19.3", but the project has react@^18.3.1
  2. @react-three/drei@9.121.2 requires @react-three/fiber@^8 (not v9), while also requiring react@^18

The package versions in this PR are internally inconsistent and npm install will fail.

To resolve, choose one:

  • Downgrade @react-three/fiber to v8 (compatible with React 18 and @react-three/drei v9)
  • Upgrade React to v19 AND downgrade @react-three/drei to a version compatible with both React 19 and @react-three/fiber v9, then verify all other dependencies (expo packages, type definitions) support React 19
  • Wait for @react-three/drei to release a version supporting @react-three/fiber v9 with React 19
🤖 Prompt for AI Agents
In `@package.json` at line 18, package.json updates introduced incompatible peer
deps: `@react-three/fiber`@9 conflicts with current react@^18.3.1 and
`@react-three/drei`@9 requires `@react-three/fiber`@^8; fix by choosing one
resolution path and applying it to package.json: either downgrade
`@react-three/fiber` to a v8.x release that satisfies `@react-three/drei`@9 and
React 18, or upgrade React to v19 and also align `@react-three/drei` to a version
compatible with fiber@9 (and audit other deps like expo/type defs for React 19
compatibility), or revert the fiber bump and wait for drei to release fiber@9
support—update the dependency entries for "@react-three/fiber", "react", and
"@react-three/drei" accordingly and run npm install to verify no peer conflicts.

"framer-motion": "^12.0.0",
"maath": "^0.10.8",
"prop-types": "^15.8.1",
Expand Down
Loading