Skip to content

Commit

Permalink
fix(examples/with-three-js): Upgrade drei@2.2.21 & three@0.125.0 verc…
Browse files Browse the repository at this point in the history
…el#22365 (vercel#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`.
  • Loading branch information
getspooky committed Feb 22, 2021
1 parent 435eef7 commit 4b587d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/with-three-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4b587d3

Please sign in to comment.