react-postprocessing icon indicating copy to clipboard operation
react-postprocessing copied to clipboard

error - ReferenceError: Cannot access '__WEBPACK_DEFAULT_EXPORT__' before initialization

Open PlopTheReal opened this issue 2 years ago • 2 comments

react-postprocessing 2.2.4 + nextjs 11.1.1 is giving an error like "error - ReferenceError: Cannot access 'WEBPACK_DEFAULT_EXPORT' before initialization" without much details.

Running ok with the version I was using before : 2.1.6

PlopTheReal avatar Mar 16 '22 20:03 PlopTheReal

how do you import effectcomposer or the effects? import EffectComposer, { Bloom, ... } from ... ? in that case move EffectComposer into the brackets

drcmda avatar Mar 16 '22 21:03 drcmda

Yes all is within brackets.

PlopTheReal avatar Mar 16 '22 22:03 PlopTheReal