Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lottie React build failure (eval is deprecated) #98

Open
SpaceHolderdJs opened this issue Oct 11, 2023 · 7 comments
Open

Lottie React build failure (eval is deprecated) #98

SpaceHolderdJs opened this issue Oct 11, 2023 · 7 comments

Comments

@SpaceHolderdJs
Copy link

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!

@pramesh07
Copy link

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

@patrickleogit
Copy link

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

@Baalamurgan
Copy link

Baalamurgan commented Nov 6, 2023

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

@Supcar27
Copy link

Supcar27 commented Nov 8, 2023

I am also facing this issue with React 18.2

@SteveBehm
Copy link

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

@w-bouzazi
Copy link

Same issue on my end.

@kevinvugts
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants