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

How can I run 'npm run compile' on branch develop? #1118

Open
guoyutao opened this issue Jul 2, 2024 · 3 comments
Open

How can I run 'npm run compile' on branch develop? #1118

guoyutao opened this issue Jul 2, 2024 · 3 comments

Comments

@guoyutao
Copy link

guoyutao commented Jul 2, 2024

How can I run 'npm run compile' on branch develop?

when i run 'npm run compile', there is an error :
develep tool: VSCode
image

@dpvc
Copy link
Member

dpvc commented Jul 2, 2024

There was a file that was left out of a recent commit (#1109). It is components/mjs/source.d.cts and should contain one line

export declare const src: string;

You can create that file for now. It is already on our radar to include it in another commit.

Just FYI, all the other files should have been compiled, so unless you need the util/asyncLoad/node.js file, you can also just ignore the error.

@dpvc
Copy link
Member

dpvc commented Jul 2, 2024

PS, I'm in the process of writing a response to your other issue, and was going to include a MathJax configuration that would include a patch for the problem, so if you re recompiling because of that, you might want to wait and see if using the patch is easier for you.

Also, you would need to use the issue3252 branch, not the develop branch, as that PR hasn't been merged yet.

@guoyutao
Copy link
Author

guoyutao commented Jul 3, 2024

Thank you very much.

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

2 participants