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

Module parse failed: Unexpected token (22:19)

Open farasjibran opened this issue 4 years ago • 1 comments

I have issue when using this flowbite react in my react app, they throw error like this screenshot bellow

image

can you please help this issue?

farasjibran avatar May 30 '22 05:05 farasjibran

Well, it looks like the issue is that you are compiling to an old version of ES that doesnt support ?? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator

Im not entirely sure what the library can do about this.

tulup-conner avatar May 30 '22 05:05 tulup-conner