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

node_modules/lottie-web/build/player/lottie.js (17010:32) Use of eval in "node_modules/lottie-web/build/player/lottie.js #3025

Open
DhWalidkhl opened this issue Aug 19, 2023 · 3 comments

Comments

@DhWalidkhl
Copy link

Tell us about your environment

  • Browser and Browser Version:
  • After Effects Version:

What did you do? Please explain the steps you took before you encountered the problem.

What did you expect to happen?

What actually happened? Please include as much relevant detail as possible.

Please provide a download link to the After Effects file that demonstrates the problem.

@DhWalidkhl DhWalidkhl changed the title netlify building issue node_modules/lottie-web/build/player/lottie.js (17010:32) Use of eval in "node_modules/lottie-web/build/player/lottie.js Aug 19, 2023
@bodymovin
Copy link
Collaborator

hi, if you're not using expressions you can point to the lottie-light version that does not use eval

@TheSonOfThomp
Copy link

Duplicate of #2927?

@jorisw
Copy link

jorisw commented Feb 13, 2024

hi, if you're not using expressions you can point to the lottie-light version that does not use eval

How?

Apparently this is done by importing directly from a Lottie-light file:

Replacing import lottie from "lottie-web"; with import lottie from "lottie-web/build/player/lottie_light"; and using renderer: "svg", worked for me.

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

4 participants