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

Uncaught TypeError: Cannot read properties of null (reading 'define') #244

Open
krasheed1995 opened this issue May 6, 2024 · 0 comments

Comments

@krasheed1995
Copy link

krasheed1995 commented May 6, 2024

getting error in line number - lottie-player.js 31

var n$1=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{var{kind:r,elements:i}=e;return{kind:r,elements:i,finisher(e){window.customElements.define(t,e)}}})(t,e)

Uncaught TypeError: Cannot read properties of null (reading 'define')

i use it for browser extension in content scripts. when i go to any webpage and inspect the page i get this error.
the script is downloaded from https://unpkg.com/@lottiefiles/lottie-player@2.0.4/dist/lottie-player.js

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

1 participant