Unverified Commit 4b587d34 authored by Yasser A.Idrissi's avatar Yasser A.Idrissi Committed by GitHub

fix(examples/with-three-js): Upgrade drei@2.2.21 & three@0.125.0 #22365 (#22431)

If the three dependency is upgraded to version 0.125.0 and upwards, the following errors occur:
- Compilation error: Attempted import error: 'Geometry' is not exported from 'three'.
- ReferenceError: Blob is not defined.

Solution: 
Upgrade drei to `2.2.21`.
parent 435eef75
......@@ -8,12 +8,12 @@
"start": "next start"
},
"dependencies": {
"drei": "2.2.13",
"drei": "2.2.21",
"next": "10.0.5",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-three-fiber": "5.3.11",
"three": "0.124.0"
"three": "0.125.0"
},
"devDependencies": {
"next-transpile-modules": "6.0.0"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment