drcmda/floating-shoe

How do avoid tese console errors with drei 5.00

Opened this issue · 4 comments

Error when converting '/node_modules/@react-three/drei/web/Html.js' esmodule to commonjs: this[e.init.type] is not a function
Error when converting '/node_modules/@react-three/drei/core/softShadows.js' esmodule to commonjs: this[e.type] is not a function

i think its better to ask at react-three repo. But in general, its best to provide also a code example

I will, I was following a tutorial: https://codesandbox.io/s/floating-shoe-forked-qxjoj
if you simply upgrade this to the latest drei you get that error.

@krimpenrik the box you just linked? i updated it, dont see any problems ...