How do avoid tese console errors with drei 5.00
Opened this issue · 4 comments
riekusr commented
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
akella commented
i think its better to ask at react-three repo. But in general, its best to provide also a code example
riekusr commented
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.
drcmda commented
@krimpenrik the box you just linked? i updated it, dont see any problems ...