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

App throws error on running Gatsby Build

Open royleochan opened this issue 4 years ago • 1 comments

Describe the bug Hi I am making a react app using gatsby and im using the react-carousel. However when i try to build, I am getting the following error in my build log: "Building static HTML failed for path "/projects/". When I go to the react error decoder, the full text of the error i encounter is Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.

When I comment out and not use the react-carousel component, the build will run successfully so it seems like react-carousel is causing the bug. More information can be found in the screenshots below.

To Reproduce Steps to reproduce the behavior: Run gatsby build

Expected behavior For gatsby to be done building successfully

Screenshots Screenshot 2020-08-11 at 4 52 28 AM

Screenshot 2020-08-11 at 4 52 52 AM

Additional context Trying to build the gatsby app but facing this error. Would appreciate any help. Thank you!

royleochan avatar Aug 10 '20 20:08 royleochan

Any luck, this is happening to me on nextjs.

alexleone avatar Sep 21 '20 19:09 alexleone