MathJax-src icon indicating copy to clipboard operation
MathJax-src copied to clipboard

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

Open guoyutao opened this issue 1 year ago • 3 comments

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

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

guoyutao avatar Jul 02 '24 14:07 guoyutao

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 avatar Jul 02 '24 14:07 dpvc

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.

dpvc avatar Jul 02 '24 14:07 dpvc

Thank you very much.

guoyutao avatar Jul 03 '24 02:07 guoyutao