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

Lottie React build failure (eval is deprecated)

Open SpaceHolderdJs opened this issue 2 years ago • 7 comments

Hello Everyone!

I am using lottie-react with "react": "^18.2.0", and Vite and facing the issue after running the build command.

Here is the output of the terminal

image

I am wondering if there is any way to fix it, would be grateful for any support, thanks!

SpaceHolderdJs avatar Oct 11 '23 14:10 SpaceHolderdJs

yeah am also facing the same issue due to use of eval am also using react 18.2.0 and vite

pramesh07 avatar Oct 14 '23 04:10 pramesh07

I am facing the same issue with React 18.2.0, Typescript 4.9.5 and Vite 4.5.0

patrickleogit avatar Oct 30 '23 15:10 patrickleogit

Same here with Next 13.4.19, Typescript 5.2.2, React 18.2.0

Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error ReferenceError: document is not defined at createTag

Baalamurgan avatar Nov 06 '23 13:11 Baalamurgan

I am also facing this issue with React 18.2

Supcar27 avatar Nov 08 '23 19:11 Supcar27

The company I work for has a Next.js/React app and I have experienced this issue during build and I have been unable to resolve it.

If anyone has a workaround for the time being that would be helpful.

Screenshot 2023-11-09 at 1 22 06 PM

SteveBehm avatar Nov 09 '23 21:11 SteveBehm

Same issue on my end.

w-bouzazi avatar Dec 06 '23 15:12 w-bouzazi

Is this something that can be picked up by you @Gamote ?

kevinvugts avatar May 02 '24 14:05 kevinvugts