Closed Rakha112 closed 3 months ago
What does npm ls react-dom
and npm ls react
give you?
Hey @CodyJasonBennett, thanks for the quick response. Here are the results from that command
❯ npm ls react-dom
Testing@0.0.1 /Users/rakha/Documents/PROJECT-DEV/Mobile-Dev/Testing
└─┬ @react-three/fiber@8.16.8
├── react-dom@18.3.1
└─┬ react-use-measure@2.1.1
└── react-dom@18.3.1 deduped
❯ npm ls react
npm error code ELSPROBLEMS
npm error invalid: react@18.2.0 /Users/rakha/Documents/PROJECT-DEV/Mobile-Dev/Testing/node_modules/react
Testing@0.0.1 /Users/rakha/Documents/PROJECT-DEV/Mobile-Dev/Testing
├─┬ @react-three/fiber@8.16.8
│ ├─┬ its-fine@1.2.5
│ │ └── react@18.2.0 deduped
│ ├─┬ react-dom@18.3.1
│ │ └── react@18.2.0 deduped invalid: "^18.3.1" from node_modules/react-dom
│ ├─┬ react-reconciler@0.27.0
│ │ └── react@18.2.0 deduped invalid: "^18.3.1" from node_modules/react-dom
│ ├─┬ react-use-measure@2.1.1
│ │ └── react@18.2.0 deduped invalid: "^18.3.1" from node_modules/react-dom
│ ├── react@18.2.0 deduped
│ ├─┬ suspend-react@0.1.3
│ │ └── react@18.2.0 deduped invalid: "^18.3.1" from node_modules/react-dom
│ └─┬ zustand@3.7.2
│ └── react@18.2.0 deduped invalid: "^18.3.1" from node_modules/react-dom
├─┬ react-native@0.74.2
│ ├─┬ @react-native/virtualized-lists@0.74.84
│ │ └── react@18.2.0 deduped invalid: "^18.3.1" from node_modules/react-dom
│ ├─┬ react-shallow-renderer@16.15.0
│ │ └── react@18.2.0 deduped invalid: "^18.3.1" from node_modules/react-dom
│ └── react@18.2.0 deduped
├─┬ react-test-renderer@18.2.0
│ └── react@18.2.0 deduped
└── react@18.2.0
+1
+1
@drcmda, either we add native support to use-measure and make react-dom an optional peer dep there, or we drop it from R3F in the meantime.
Hey, I'm getting a Conflicting peer dependency error after installing @react-three/fiber. Here's the error
and this is the package.json