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

Named export 'BlendFunction' not found with NextJS

Open ledhieu opened this issue 2 years ago • 1 comments

I received this error right after installing rpp, after bypassing a few peer deps issues with three and fiber: error

I noticed that this issue went away after I used the new /app directory structure instead of /pages, but doing so introduces another error that prevents the build process error2

Is there another way to fix this issue?

ledhieu avatar May 05 '23 15:05 ledhieu

I had the same issue. The following combination of changes solved it for me use those version. And use next.js module transpiration instead of next-transpile-modules as mentioned in react-three-fiber documentation.

image

In the next.config.js. image

bryanmaina avatar May 06 '23 03:05 bryanmaina