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

TypeError: Cannot set property Package of #<Object> which has only a getter #3327

Open
swanfly opened this issue Jan 29, 2025 · 1 comment
Open

Comments

@swanfly
Copy link

swanfly commented Jan 29, 2025

When the $$symbol is detected, tex-mml-chtml.min.js will be dynamically loaded. When it is just loaded and multiple characters are quickly entered, this error will be reported. This error occurs occasionally.

Chrome
Image
TypeError: Cannot set property Package of # which has only a getter
at s (https://cdn.jsdelivr.net/npm/[email protected]/es5/tex-mml-chtml.min.js:7:13801)
at s (https://cdn.jsdelivr.net/npm/[email protected]/es5/tex-mml-chtml.min.js:7:13808)
at s (https://cdn.jsdelivr.net/npm/[email protected]/es5/tex-mml-chtml.min.js:7:13808)
at s (https://cdn.jsdelivr.net/npm/[email protected]/es5/tex-mml-chtml.min.js:7:13808)
at e.combineWithMathJax (https://cdn.jsdelivr.net/npm/[email protected]/es5/tex-mml-chtml.min.js:7:14317)
at https://cdn.jsdelivr.net/npm/[email protected]/es5/tex-mml-chtml.min.js:7:1156315
at https://cdn.jsdelivr.net/npm/[email protected]/es5/tex-mml-chtml.min.js:7:1173001
at https://cdn.jsdelivr.net/npm/[email protected]/es5/tex-mml-chtml.min.js:7:1173005

Safari
Image

my code below:

Image Image Image

@dpvc
Copy link
Member

dpvc commented Feb 3, 2025

This is a duplicate of #3289, and the earlier #3106 and #3079. The first link has some more details.

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

No branches or pull requests

2 participants