lottie-react
lottie-react copied to clipboard
Lottie React build failure (eval is deprecated)
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
I am wondering if there is any way to fix it, would be grateful for any support, thanks!
yeah am also facing the same issue due to use of eval am also using react 18.2.0 and vite
I am facing the same issue with React 18.2.0, Typescript 4.9.5 and Vite 4.5.0
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
I am also facing this issue with React 18.2
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.
Same issue on my end.
Is this something that can be picked up by you @Gamote ?