-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Problems cloning MathJax-src repo #2358
Comments
OK, I figured it out. According to the tsconfig documentation:
The solution is to add
to the |
I've made a pull request for the change in the Note, however, that unless you are planning to make pull requests to fix issues in MathJax, you might be better to use the |
Thanks a lot for the help. But I have a question: Why is it advised to use the npm package instead? And since I don't yet know whether I will have to edit the existing MathJax classes, shouldn't I use the git clone to make sure I am not "limited" in what I can do? |
Mostly because it already includes the compiled files, but also because it makes it easier to include MathJax in your package.json than having to clone the repo by hand.
As I mention above, the But again, I don't recommend changing the base MathJax code unless you are planning to make pull requests back to the MathJax source repository. Instead, you should subclass the objects you plan to change, make the changes in your subclass, and use the subclasses instead of the base MathJax classes. It is possible to substitute your own classes for most of the originals (though there are some places where that is more difficult to do). For example, if you want to change the |
Prevent reading node_modules/@types from containing directories. (mathjax/MathJax#2358)
I am looking to clone the MathJax source repo and I am running into errors when compiling with TypeScript.
I ran
npm install
,npm update
and tried updating Node and npm, but I still get the following errors when trying to runnpm run install
:The log file:
2020-02-26T21_05_03_551Z-debug.log
Since I believe that the current commit should most likely compile, I think I must have something wrong with my versions of TypeScript or whatever, but I already checked it using
npx tsc -v
and it was the same as listed in thedevDependencies
.I would really appreciate some help here, since I am actually really keen on getting into MathJax and extending it for my purpose.
The text was updated successfully, but these errors were encountered: