-
-
Notifications
You must be signed in to change notification settings - Fork 64
rehype-mathjax/svg.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler' #109
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
Comments
@ACFancy have you tried setting your |
@ACFancy your question is very minimal, and not really grammatical English. So it is very hard for me to help you. Can you please expand your question? Did/do you have the same problem with version 6.0.0? |
Hi! Thanks for taking the time to contribute! This has been marked by a maintainer as needing more info. It’s not clear yet whether this is an issue. Here are a couple tips:
Thanks, |
I have encountered the same error when I wrote this: import rehypeMathjax from "rehype-mathjax"; This was resolved by changing it into: import rehypeMathjax from "rehype-mathjax/svg"; |
Are you using an older bundler? Webpack 4 or so? |
This is a type error, not a build error. The question is answered by @ChristianMurphy as well as in the error message in the question itself. Remove the |
The bundler is vite v5.4.11. Changing |
That’s a bug in |
This comment has been minimized.
This comment has been minimized.
Hi! Thanks for reaching out! Because we treat issues as our backlog, we close issues that are questions since they don’t represent a task to be completed. See our support docs for how and where to ask questions. Thanks, |
Initial checklist
Affected package
"rehype-mathjax": "^7.0.0",
Steps to reproduce
rehype-mathjax/svg.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'
Actual behavior
tsconfig.json
Expected behavior
rehype-mathjax/svg.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'
Runtime
[email protected]
Package manager
[email protected]
Operating system
macOS Sequoia 15.1
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: